public class ClientHttpRequestFactoryFactory extends Object
ClientHttpRequestFactory that supports Apache HTTP Components,
OkHttp, Netty and the JDK HTTP client (in that order). This factory configures a
ClientHttpRequestFactory depending on the available dependencies.| Constructor and Description |
|---|
ClientHttpRequestFactoryFactory() |
| Modifier and Type | Method and Description |
|---|---|
static ClientHttpRequestFactory |
create(ClientOptions options)
Create a
ClientHttpRequestFactory for the given ClientOptions. |
public static ClientHttpRequestFactory create(ClientOptions options)
ClientHttpRequestFactory for the given ClientOptions.options - must not be nullClientHttpRequestFactory. Lifecycle beans must be initialized
after obtaining.