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