requestFactory

Set the ClientHttpRequestFactory class that should be used with the RestTemplate.

Return

a new builder instance

Parameters

requestFactoryType

the request factory type to use


Set the Supplier of ClientHttpRequestFactory that should be called each time we build a new RestTemplate instance.

Return

a new builder instance

Since

2.0.0

Parameters

requestFactorySupplier

the supplier for the request factory


Set the request factory function that should be called to provide a ClientHttpRequestFactory each time we build a new RestTemplate instance.

Return

a new builder instance

Since

3.0.0

Parameters

requestFactoryFunction

the settings to request factory function

See also