Class ClientHttpRequestMessageSender
java.lang.Object
org.springframework.ws.transport.http.AbstractHttpWebServiceMessageSender
org.springframework.ws.transport.http.ClientHttpRequestMessageSender
- All Implemented Interfaces:
WebServiceMessageSender
WebServiceMessageSender
implementation based on the ClientHttpRequestFactory
introduced in Spring 3.- Since:
- 2.2
- Author:
- Krzysztof Trojan, Arjen Poutsma
-
Field Summary
Fields inherited from class org.springframework.ws.transport.http.AbstractHttpWebServiceMessageSender
logger
-
Constructor Summary
ConstructorDescriptionClientHttpRequestMessageSender
(org.springframework.http.client.ClientHttpRequestFactory requestFactory) -
Method Summary
Modifier and TypeMethodDescriptioncreateConnection
(URI uri) Create a newWebServiceConnection
to the specified URI.org.springframework.http.client.ClientHttpRequestFactory
void
setRequestFactory
(org.springframework.http.client.ClientHttpRequestFactory requestFactory) Methods inherited from class org.springframework.ws.transport.http.AbstractHttpWebServiceMessageSender
isAcceptGzipEncoding, setAcceptGzipEncoding, supports
-
Constructor Details
-
ClientHttpRequestMessageSender
public ClientHttpRequestMessageSender() -
ClientHttpRequestMessageSender
public ClientHttpRequestMessageSender(org.springframework.http.client.ClientHttpRequestFactory requestFactory)
-
-
Method Details
-
getRequestFactory
public org.springframework.http.client.ClientHttpRequestFactory getRequestFactory() -
setRequestFactory
public void setRequestFactory(org.springframework.http.client.ClientHttpRequestFactory requestFactory) -
createConnection
Description copied from interface:WebServiceMessageSender
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
-