Class ClientHttpRequestFactoryFactory
java.lang.Object
org.springframework.credhub.configuration.ClientHttpRequestFactoryFactory
Factory for 
ClientHttpRequestFactory that supports Apache HTTP Components,
 OkHttp the JDK HTTP client (in that order). This factory configures a
 ClientHttpRequestFactory depending on the available dependencies.- Author:
 - Mark Paluch, Scott Frederick
 
- 
Method Summary
Modifier and TypeMethodDescriptionstatic ClientHttpRequestFactorycreate(ClientOptions options) Create aClientHttpRequestFactoryfor the givenClientOptions. 
- 
Method Details
- 
create
Create aClientHttpRequestFactoryfor the givenClientOptions.- Parameters:
 options- must not be null- Returns:
 - a new 
ClientHttpRequestFactory. Lifecycle beans must be initialized after obtaining. 
 
 -