类 HttpWebServiceMessageSenderBuilder
java.lang.Object
org.springframework.boot.webservices.client.HttpWebServiceMessageSenderBuilder
@Deprecated(since="3.4.0",
forRemoval=true)
public class HttpWebServiceMessageSenderBuilder
extends Object
已过时, 待删除: 此 API 元素将从以后的版本中删除。
WebServiceMessageSender builder that can detect a suitable HTTP library based
on the classpath.- 从以下版本开始:
- 2.1.0
- 作者:
- Stephane Nicoll
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明org.springframework.ws.transport.WebServiceMessageSenderbuild()已过时, 待删除: 此 API 元素将从以后的版本中删除。Build theWebServiceMessageSenderinstance.requestFactory(Function<ClientHttpRequestFactorySettings, ClientHttpRequestFactory> requestFactoryFunction) 已过时, 待删除: 此 API 元素将从以后的版本中删除。Set theFunctionofClientHttpRequestFactorySettingstoClientHttpRequestFactorythat should be called to create the HTTP-basedWebServiceMessageSender.requestFactory(Supplier<ClientHttpRequestFactory> requestFactorySupplier) 已过时, 待删除: 此 API 元素将从以后的版本中删除。Set theSupplierofClientHttpRequestFactorythat should be called to create the HTTP-basedWebServiceMessageSender.requestFactoryBuilder(ClientHttpRequestFactoryBuilder<?> requestFactoryBuilder) 已过时, 待删除: 此 API 元素将从以后的版本中删除。Set theClientHttpRequestFactoryBuilderto use when creating the HTTP-basedWebServiceMessageSender.setConnectTimeout(Duration connectTimeout) 已过时, 待删除: 此 API 元素将从以后的版本中删除。Set the connection timeout.setReadTimeout(Duration readTimeout) 已过时, 待删除: 此 API 元素将从以后的版本中删除。Set the read timeout.已过时, 待删除: 此 API 元素将从以后的版本中删除。Set anSslBundlethat will be used to configure a secure connection.
-
构造器详细资料
-
HttpWebServiceMessageSenderBuilder
public HttpWebServiceMessageSenderBuilder()已过时, 待删除: 此 API 元素将从以后的版本中删除。
-
-
方法详细资料
-
setConnectTimeout
已过时, 待删除: 此 API 元素将从以后的版本中删除。Set the connection timeout.- 参数:
connectTimeout- the connection timeout- 返回:
- the current builder instance
-
setReadTimeout
已过时, 待删除: 此 API 元素将从以后的版本中删除。Set the read timeout.- 参数:
readTimeout- the read timeout- 返回:
- the current builder instance
-
sslBundle
已过时, 待删除: 此 API 元素将从以后的版本中删除。Set anSslBundlethat will be used to configure a secure connection.- 参数:
sslBundle- the SSL bundle- 返回:
- the current builder instance
-
requestFactory
public HttpWebServiceMessageSenderBuilder requestFactory(Supplier<ClientHttpRequestFactory> requestFactorySupplier) 已过时, 待删除: 此 API 元素将从以后的版本中删除。Set theSupplierofClientHttpRequestFactorythat should be called to create the HTTP-basedWebServiceMessageSender.- 参数:
requestFactorySupplier- the supplier for the request factory- 返回:
- the current builder instance
-
requestFactory
public HttpWebServiceMessageSenderBuilder requestFactory(Function<ClientHttpRequestFactorySettings, ClientHttpRequestFactory> requestFactoryFunction) 已过时, 待删除: 此 API 元素将从以后的版本中删除。Set theFunctionofClientHttpRequestFactorySettingstoClientHttpRequestFactorythat should be called to create the HTTP-basedWebServiceMessageSender.- 参数:
requestFactoryFunction- the function for the request factory- 返回:
- the current builder instance
- 从以下版本开始:
- 3.0.0
-
requestFactoryBuilder
public HttpWebServiceMessageSenderBuilder requestFactoryBuilder(ClientHttpRequestFactoryBuilder<?> requestFactoryBuilder) 已过时, 待删除: 此 API 元素将从以后的版本中删除。Set theClientHttpRequestFactoryBuilderto use when creating the HTTP-basedWebServiceMessageSender.- 参数:
requestFactoryBuilder- theClientHttpRequestFactoryBuilderto use- 返回:
- this builder instance
- 从以下版本开始:
- 3.4.0
-
build
public org.springframework.ws.transport.WebServiceMessageSender build()已过时, 待删除: 此 API 元素将从以后的版本中删除。Build theWebServiceMessageSenderinstance.- 返回:
- the
WebServiceMessageSenderinstance
-
WebServiceMessageSenderFactory.http(ClientHttpRequestFactorySettings)