Spring Web Services Framework

org.springframework.ws.transport
Interface WebServiceMessageSender

All Known Implementing Classes:
AbstractHttpWebServiceMessageSender, CommonsHttpMessageSender, HttpComponentsMessageSender, HttpsUrlConnectionMessageSender, HttpUrlConnectionMessageSender, JmsMessageSender, MailMessageSender, 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:
WebServiceConnection

Method Summary
 WebServiceConnection createConnection(URI uri)
          Create a new WebServiceConnection to the specified URI.
 boolean supports(URI uri)
          Does this WebServiceMessageSender support the supplied URI?
 

Method Detail

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

Spring Web Services Framework

Copyright © 2005-2013 The Spring Web Services Framework. All Rights Reserved.