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,
SslConfiguration sslConfiguration)
|
public static ClientHttpRequestFactory create(ClientOptions options, SslConfiguration sslConfiguration)
options
- must not be nullsslConfiguration
- must not be nullClientHttpRequestFactory
. Lifecycle beans must be initialized
after obtaining.Copyright © 2016–2019 Pivotal Software, Inc.. All rights reserved.