Class MockWebServiceMessageSender

java.lang.Object
org.springframework.ws.test.client.MockWebServiceMessageSender
All Implemented Interfaces:
org.springframework.ws.transport.WebServiceMessageSender

public class MockWebServiceMessageSender extends Object implements org.springframework.ws.transport.WebServiceMessageSender
Mock implementation of WebServiceMessageSender. Contains a list of expected MockSenderConnections, and iterates over those.
Since:
2.0
  • Nested Class Summary

    Nested classes/interfaces inherited from interface org.springframework.ws.transport.WebServiceMessageSender

    org.springframework.ws.transport.WebServiceMessageSender.DestinationDescriptor, org.springframework.ws.transport.WebServiceMessageSender.DestinationPolicy<D>, org.springframework.ws.transport.WebServiceMessageSender.UriSource
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.springframework.ws.test.client.MockSenderConnection
     
    boolean
    supports(URI uri, org.springframework.ws.transport.WebServiceMessageSender.UriSource uriSource)
    Always returns true.

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.springframework.ws.transport.WebServiceMessageSender

    supports
  • Constructor Details

    • MockWebServiceMessageSender

      public MockWebServiceMessageSender()
  • Method Details

    • createConnection

      public org.springframework.ws.test.client.MockSenderConnection createConnection(URI uri) throws IOException
      Specified by:
      createConnection in interface org.springframework.ws.transport.WebServiceMessageSender
      Throws:
      IOException
    • supports

      public boolean supports(URI uri, org.springframework.ws.transport.WebServiceMessageSender.UriSource uriSource)
      Always returns true.
      Specified by:
      supports in interface org.springframework.ws.transport.WebServiceMessageSender