public class HttpWebServiceMessageSenderBuilder extends Object
WebServiceMessageSender builder that can detect a suitable HTTP library based
 on the classpath.| Constructor and Description | 
|---|
HttpWebServiceMessageSenderBuilder()  | 
| Modifier and Type | Method and Description | 
|---|---|
org.springframework.ws.transport.WebServiceMessageSender | 
build()  | 
HttpWebServiceMessageSenderBuilder | 
requestFactory(Supplier<org.springframework.http.client.ClientHttpRequestFactory> requestFactorySupplier)
Set the  
Supplier of ClientHttpRequestFactory that should be called
 to create the HTTP-based WebServiceMessageSender. | 
HttpWebServiceMessageSenderBuilder | 
setConnectTimeout(Duration connectTimeout)
Set the connection timeout. 
 | 
HttpWebServiceMessageSenderBuilder | 
setReadTimeout(Duration readTimeout)
Set the read timeout. 
 | 
public HttpWebServiceMessageSenderBuilder setConnectTimeout(Duration connectTimeout)
connectTimeout - the connection timeoutpublic HttpWebServiceMessageSenderBuilder setReadTimeout(Duration readTimeout)
readTimeout - the read timeoutpublic HttpWebServiceMessageSenderBuilder requestFactory(Supplier<org.springframework.http.client.ClientHttpRequestFactory> requestFactorySupplier)
Supplier of ClientHttpRequestFactory that should be called
 to create the HTTP-based WebServiceMessageSender.requestFactorySupplier - the supplier for the request factorypublic org.springframework.ws.transport.WebServiceMessageSender build()
Copyright © 2019 Pivotal Software, Inc.. All rights reserved.