public class ClientHttpRequestMessageSender extends AbstractHttpWebServiceMessageSender
WebServiceMessageSender
implementation based on the
ClientHttpRequestFactory
introduced in Spring 3.logger
Constructor and Description |
---|
ClientHttpRequestMessageSender() |
ClientHttpRequestMessageSender(ClientHttpRequestFactory requestFactory) |
Modifier and Type | Method and Description |
---|---|
WebServiceConnection |
createConnection(URI uri)
Create a new
WebServiceConnection to the specified URI. |
ClientHttpRequestFactory |
getRequestFactory() |
void |
setRequestFactory(ClientHttpRequestFactory requestFactory) |
isAcceptGzipEncoding, setAcceptGzipEncoding, supports
public ClientHttpRequestMessageSender()
public ClientHttpRequestMessageSender(ClientHttpRequestFactory requestFactory)
public ClientHttpRequestFactory getRequestFactory()
public void setRequestFactory(ClientHttpRequestFactory requestFactory)
public WebServiceConnection createConnection(URI uri) throws IOException
WebServiceMessageSender
WebServiceConnection
to the specified URI.uri
- the URI to open a connection toIOException
- in case of I/O errors