public class HttpClientConfigured extends Object
| Constructor and Description |
|---|
HttpClientConfigured(B3PCredentials credentials) |
HttpClientConfigured(B3PCredentials credentials,
int timeout) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
close(org.apache.http.HttpResponse response) |
org.apache.http.HttpResponse |
execute(org.apache.http.client.methods.HttpUriRequest method) |
org.apache.http.client.protocol.HttpClientContext |
getContext() |
org.apache.http.client.HttpClient |
getHttpClient() |
static void |
setAllowSelfSignedCerts(boolean assc) |
void |
setContext(org.apache.http.client.protocol.HttpClientContext context) |
void |
setHttpClient(org.apache.http.client.HttpClient httpClient) |
static void |
setMaxResponseTime(int aMaxResponseTime) |
public HttpClientConfigured(B3PCredentials credentials)
public HttpClientConfigured(B3PCredentials credentials, int timeout)
public org.apache.http.HttpResponse execute(org.apache.http.client.methods.HttpUriRequest method)
throws IOException
IOExceptionpublic void close()
public void close(org.apache.http.HttpResponse response)
public org.apache.http.client.HttpClient getHttpClient()
public void setHttpClient(org.apache.http.client.HttpClient httpClient)
httpClient - the httpClient to setpublic org.apache.http.client.protocol.HttpClientContext getContext()
public void setContext(org.apache.http.client.protocol.HttpClientContext context)
context - the context to setpublic static void setMaxResponseTime(int aMaxResponseTime)
aMaxResponseTime - the maxResponseTime to setpublic static void setAllowSelfSignedCerts(boolean assc)
allowSelfSignedCerts - the allowSelfSignedCerts to setCopyright © 2018 B3Partners B.V.. All rights reserved.