Interface WebServiceMessageSender

All Known Implementing Classes:
AbstractHttpWebServiceMessageSender, ClientHttpRequestMessageSender, CommonsHttpMessageSender, HttpComponents5MessageSender, HttpComponentsMessageSender, HttpsUrlConnectionMessageSender, HttpUrlConnectionMessageSender, JdkHttpClientMessageSender, JmsMessageSender, MailMessageSender, MockWebServiceMessageSender, XmppMessageSender

public interface WebServiceMessageSender
Defines the methods for classes capable of sending and receiving WebServiceMessage instances across a transport.

The WebServiceMessageSender is basically a factory for WebServiceConnection objects.

Since:
1.0.0
Author:
Arjen Poutsma
See Also:
  • Method Details

    • createConnection

      WebServiceConnection createConnection(URI uri) throws IOException
      Create a new WebServiceConnection to the specified URI.
      Parameters:
      uri - the URI to open a connection to
      Returns:
      the new connection
      Throws:
      IOException - in case of I/O errors
    • supports

      boolean supports(URI uri)
      Does this WebServiceMessageSender support the supplied URI?
      Parameters:
      uri - the URI to be checked
      Returns:
      true if this WebServiceMessageSender supports the supplied URI