public class ClientHttpRequestMessageSender extends AbstractHttpWebServiceMessageSender
WebServiceMessageSender
implementation based on the
ClientHttpRequestFactory
introduced in Spring 3.logger
Constructor and Description |
---|
ClientHttpRequestMessageSender() |
ClientHttpRequestMessageSender(org.springframework.http.client.ClientHttpRequestFactory requestFactory) |
Modifier and Type | Method and Description |
---|---|
WebServiceConnection |
createConnection(URI uri)
Create a new
WebServiceConnection to the specified URI. |
org.springframework.http.client.ClientHttpRequestFactory |
getRequestFactory() |
void |
setRequestFactory(org.springframework.http.client.ClientHttpRequestFactory requestFactory) |
isAcceptGzipEncoding, setAcceptGzipEncoding, supports
public ClientHttpRequestMessageSender()
public ClientHttpRequestMessageSender(org.springframework.http.client.ClientHttpRequestFactory requestFactory)
public org.springframework.http.client.ClientHttpRequestFactory getRequestFactory()
public void setRequestFactory(org.springframework.http.client.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 errorsCopyright © 2020 Pivotal Software. All rights reserved.