public class DefaultHttpClientFactory extends Object implements HttpClientFactory
HttpClientFactory
based on instances of HttpClientBuilder
.Constructor and Description |
---|
DefaultHttpClientFactory() |
Modifier and Type | Method and Description |
---|---|
org.apache.http.client.HttpClient |
createHttpClient(Destination destination)
Creates an
HttpClient based on the given Destination . |
public org.apache.http.client.HttpClient createHttpClient(Destination destination) throws DestinationAccessException, HttpClientInstantiationException
HttpClientFactory
HttpClient
based on the given Destination
.
Caution: Implementations must ensure that this method is thread-safe.
createHttpClient
in interface HttpClientFactory
DestinationAccessException
HttpClientInstantiationException
Copyright © 2017 SAP SE. All rights reserved.