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
- Author:
- Stephane Nicoll
-
Constructor Summary
ConstructorDescriptionDeprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.ws.transport.WebServiceMessageSender
build()
Deprecated, for removal: This API element is subject to removal in a future version.Build theWebServiceMessageSender
instance.requestFactory
(Function<ClientHttpRequestFactorySettings, ClientHttpRequestFactory> requestFactoryFunction) Deprecated, for removal: This API element is subject to removal in a future version.Set theFunction
ofClientHttpRequestFactorySettings
toClientHttpRequestFactory
that should be called to create the HTTP-basedWebServiceMessageSender
.requestFactory
(Supplier<ClientHttpRequestFactory> requestFactorySupplier) Deprecated, for removal: This API element is subject to removal in a future version.Set theSupplier
ofClientHttpRequestFactory
that should be called to create the HTTP-basedWebServiceMessageSender
.requestFactoryBuilder
(ClientHttpRequestFactoryBuilder<?> requestFactoryBuilder) Deprecated, for removal: This API element is subject to removal in a future version.Set theClientHttpRequestFactoryBuilder
to use when creating the HTTP-basedWebServiceMessageSender
.setConnectTimeout
(Duration connectTimeout) Deprecated, for removal: This API element is subject to removal in a future version.Set the connection timeout.setReadTimeout
(Duration readTimeout) Deprecated, for removal: This API element is subject to removal in a future version.Set the read timeout.Deprecated, for removal: This API element is subject to removal in a future version.Set anSslBundle
that will be used to configure a secure connection.
-
Constructor Details
-
HttpWebServiceMessageSenderBuilder
public HttpWebServiceMessageSenderBuilder()Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Method Details
-
setConnectTimeout
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
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
Deprecated, for removal: This API element is subject to removal in a future version.Set anSslBundle
that will be used to configure a secure connection.- Parameters:
sslBundle
- the SSL bundle- Returns:
- the current builder instance
-
requestFactory
public HttpWebServiceMessageSenderBuilder requestFactory(Supplier<ClientHttpRequestFactory> requestFactorySupplier) Deprecated, for removal: This API element is subject to removal in a future version.Set theSupplier
ofClientHttpRequestFactory
that should be called to create the HTTP-basedWebServiceMessageSender
.- Parameters:
requestFactorySupplier
- the supplier for the request factory- Returns:
- the current builder instance
-
requestFactory
public HttpWebServiceMessageSenderBuilder requestFactory(Function<ClientHttpRequestFactorySettings, ClientHttpRequestFactory> requestFactoryFunction) Deprecated, for removal: This API element is subject to removal in a future version.Set theFunction
ofClientHttpRequestFactorySettings
toClientHttpRequestFactory
that should be called to create the HTTP-basedWebServiceMessageSender
.- 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 theClientHttpRequestFactoryBuilder
to use when creating the HTTP-basedWebServiceMessageSender
.- Parameters:
requestFactoryBuilder
- theClientHttpRequestFactoryBuilder
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 theWebServiceMessageSender
instance.- Returns:
- the
WebServiceMessageSender
instance
-
WebServiceMessageSenderFactory.http(ClientHttpRequestFactorySettings)