|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface HttpClientFactory
Factory for Apache HttpClient objects
| Method Summary | |
|---|---|
org.apache.http.impl.client.CloseableHttpClient |
createHttpClient(org.apache.http.HttpHost httpHost,
boolean acceptAnyCertificate,
org.apache.http.HttpRequestInterceptor requestInterceptor,
org.apache.http.HttpResponseInterceptor responseInterceptor)
Creates an HTTP client for the given host |
| Method Detail |
|---|
org.apache.http.impl.client.CloseableHttpClient createHttpClient(org.apache.http.HttpHost httpHost,
boolean acceptAnyCertificate,
org.apache.http.HttpRequestInterceptor requestInterceptor,
org.apache.http.HttpResponseInterceptor responseInterceptor)
httpHost - the host to connect toacceptAnyCertificate - true if HTTPS certificate verification
errors should be ignored and any certificate (even an invalid one)
should be acceptedrequestInterceptor - intercepts HTTP requests before they are
sent (may be null)responseInterceptor - intercepts HTTP responses before they are
handled (may be null)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||