public static class ClientHttpRequestFactoryFactory.HttpComponents extends Object
ClientHttpRequestFactory
for Apache Http Components.Constructor and Description |
---|
HttpComponents() |
Modifier and Type | Method and Description |
---|---|
static org.apache.http.impl.client.HttpClientBuilder |
getHttpClientBuilder(ClientOptions options,
SslConfiguration sslConfiguration) |
static org.springframework.http.client.HttpComponentsClientHttpRequestFactory |
usingHttpComponents(ClientOptions options,
SslConfiguration sslConfiguration)
Create a
ClientHttpRequestFactory using Apache Http Components. |
public static org.springframework.http.client.HttpComponentsClientHttpRequestFactory usingHttpComponents(ClientOptions options, SslConfiguration sslConfiguration) throws GeneralSecurityException, IOException
ClientHttpRequestFactory
using Apache Http Components.options
- must not be nullsslConfiguration
- must not be nullHttpComponentsClientHttpRequestFactory
instance.GeneralSecurityException
IOException
public static org.apache.http.impl.client.HttpClientBuilder getHttpClientBuilder(ClientOptions options, SslConfiguration sslConfiguration) throws GeneralSecurityException, IOException
GeneralSecurityException
IOException
Copyright © 2016–2024 Pivotal Software, Inc.. All rights reserved.