Interface WebServiceMessageSenderFactory
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Factory that can be used to create a
WebServiceMessageSender
.- Since:
- 3.4.0
-
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.ws.transport.WebServiceMessageSender
Return a newWebServiceMessageSender
instance.http()
Returns a factory that will create aClientHttpRequestMessageSender
backed by a detectedClientHttpRequestFactory
.http
(ClientHttpRequestFactoryBuilder<?> requestFactoryBuilder, ClientHttpRequestFactorySettings requestFactorySettings) Returns a factory that will create aClientHttpRequestMessageSender
backed by aClientHttpRequestFactory
created from the givenClientHttpRequestFactoryBuilder
.http
(ClientHttpRequestFactorySettings requestFactorySettings) Returns a factory that will create aClientHttpRequestMessageSender
backed by a detectedClientHttpRequestFactory
.
-
Method Details
-
getWebServiceMessageSender
org.springframework.ws.transport.WebServiceMessageSender getWebServiceMessageSender()Return a newWebServiceMessageSender
instance.- Returns:
- the web service message sender
-
http
Returns a factory that will create aClientHttpRequestMessageSender
backed by a detectedClientHttpRequestFactory
.- Returns:
- a new
WebServiceMessageSenderFactory
-
http
Returns a factory that will create aClientHttpRequestMessageSender
backed by a detectedClientHttpRequestFactory
.- Parameters:
requestFactorySettings
- the setting to apply- Returns:
- a new
WebServiceMessageSenderFactory
-
http
static WebServiceMessageSenderFactory http(ClientHttpRequestFactoryBuilder<?> requestFactoryBuilder, ClientHttpRequestFactorySettings requestFactorySettings) Returns a factory that will create aClientHttpRequestMessageSender
backed by aClientHttpRequestFactory
created from the givenClientHttpRequestFactoryBuilder
.- Parameters:
requestFactoryBuilder
- the request factory builder to userequestFactorySettings
- the settings to apply- Returns:
- a new
WebServiceMessageSenderFactory
-