Class ClientHttpRequestMessageSender

java.lang.Object
org.springframework.ws.transport.http.AbstractHttpWebServiceMessageSender
org.springframework.ws.transport.http.ClientHttpRequestMessageSender
All Implemented Interfaces:
WebServiceMessageSender

public class ClientHttpRequestMessageSender extends AbstractHttpWebServiceMessageSender
WebServiceMessageSender implementation based on the ClientHttpRequestFactory introduced in Spring 3.
Since:
2.2
Author:
Krzysztof Trojan, Arjen Poutsma
  • 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

      public WebServiceConnection createConnection(URI uri) throws IOException
      Description copied from interface: WebServiceMessageSender
      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