Package org.springframework.ws.transport
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 Summary
Modifier and TypeMethodDescriptioncreateConnection
(URI uri) Create a newWebServiceConnection
to the specified URI.boolean
Does thisWebServiceMessageSender
support the supplied URI?
-
Method Details
-
createConnection
Create a newWebServiceConnection
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
Does thisWebServiceMessageSender
support the supplied URI?- Parameters:
uri
- the URI to be checked- Returns:
true
if thisWebServiceMessageSender
supports the supplied URI
-