requestFactory
open fun requestFactory(requestFactorySupplier: Supplier<ClientHttpRequestFactory>): HttpWebServiceMessageSenderBuilder
Set the Supplier
of ClientHttpRequestFactory that should be called to create the HTTP-based WebServiceMessageSender.
Return
the current builder instance
Parameters
requestFactorySupplier
the supplier for the request factory
open fun requestFactory(requestFactoryFunction: (ClientHttpRequestFactorySettings) -> ClientHttpRequestFactory): HttpWebServiceMessageSenderBuilder
Set the Function
of ClientHttpRequestFactorySettings to ClientHttpRequestFactory that should be called to create the HTTP-based WebServiceMessageSender.
Return
the current builder instance
Since
3.0.0
Parameters
requestFactoryFunction
the function for the request factory