Class HttpWebServiceMessageSenderBuilder

java.lang.Object
org.springframework.boot.webservices.client.HttpWebServiceMessageSenderBuilder

@Deprecated(since="3.4.0", forRemoval=true) public class HttpWebServiceMessageSenderBuilder extends Object
Deprecated, for removal: This API element is subject to removal in a future version.
WebServiceMessageSender builder that can detect a suitable HTTP library based on the classpath.
Since:
2.1.0
  • Constructor Details

    • HttpWebServiceMessageSenderBuilder

      public HttpWebServiceMessageSenderBuilder()
      Deprecated, for removal: This API element is subject to removal in a future version.
  • Method Details

    • setConnectTimeout

      public HttpWebServiceMessageSenderBuilder setConnectTimeout(Duration connectTimeout)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Set the connection timeout.
      Parameters:
      connectTimeout - the connection timeout
      Returns:
      the current builder instance
    • setReadTimeout

      public HttpWebServiceMessageSenderBuilder setReadTimeout(Duration readTimeout)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Set the read timeout.
      Parameters:
      readTimeout - the read timeout
      Returns:
      the current builder instance
    • sslBundle

      public HttpWebServiceMessageSenderBuilder sslBundle(SslBundle sslBundle)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Set an SslBundle that will be used to configure a secure connection.
      Parameters:
      sslBundle - the SSL bundle
      Returns:
      the current builder instance
    • requestFactory

      public HttpWebServiceMessageSenderBuilder requestFactory(Supplier<org.springframework.http.client.ClientHttpRequestFactory> requestFactorySupplier)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Set the Supplier of ClientHttpRequestFactory that should be called to create the HTTP-based WebServiceMessageSender.
      Parameters:
      requestFactorySupplier - the supplier for the request factory
      Returns:
      the current builder instance
    • requestFactory

      public HttpWebServiceMessageSenderBuilder requestFactory(Function<ClientHttpRequestFactorySettings,org.springframework.http.client.ClientHttpRequestFactory> requestFactoryFunction)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Set the Function of ClientHttpRequestFactorySettings to ClientHttpRequestFactory that should be called to create the HTTP-based WebServiceMessageSender.
      Parameters:
      requestFactoryFunction - the function for the request factory
      Returns:
      the current builder instance
      Since:
      3.0.0
    • requestFactoryBuilder

      public HttpWebServiceMessageSenderBuilder requestFactoryBuilder(ClientHttpRequestFactoryBuilder<?> requestFactoryBuilder)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Set the ClientHttpRequestFactoryBuilder to use when creating the HTTP-based WebServiceMessageSender.
      Parameters:
      requestFactoryBuilder - the ClientHttpRequestFactoryBuilder to use
      Returns:
      this builder instance
      Since:
      3.4.0
    • build

      public org.springframework.ws.transport.WebServiceMessageSender build()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Build the WebServiceMessageSender instance.
      Returns:
      the WebServiceMessageSender instance