| Modifier and Type | Field and Description |
|---|---|
| private final Lookup | |
| private final List | |
| private final HttpClientConnectionManager | |
| private final Lookup | |
| private final CookieStore | |
| private final CredentialsProvider | |
| private final RequestConfig | |
| private final ClientExecChain | |
| private final Log | |
| private final HttpRoutePlanner |
| Access | Constructor and Description |
|---|---|
| public | InternalHttpClient(final ClientExecChain execChain, final HttpClientConnectionManager connManager, final HttpRoutePlanner routePlanner, final Lookup<CookieSpecProvider> cookieSpecRegistry, final Lookup<AuthSchemeProvider> authSchemeRegistry, final CookieStore cookieStore, final CredentialsProvider credentialsProvider, final RequestConfig defaultConfig, final List<Closeable> closeables)
|
| Modifier and Type | Method and Description |
|---|---|
| public void | close()
Implements java. |
| private HttpRoute | |
| protected CloseableHttpResponse | doExecute(final HttpHost target, final HttpRequest request, final HttpContext context)
Implements abstract org. |
| public RequestConfig | getConfig()
Implements org. |
| public ClientConnectionManager | getConnectionManager()
Implements org.
Deprecated
as a consequence of
Obtains the connection manager used by this client.
ClientConnectionManager being deprecated.
|
| public HttpParams | getParams()
Implements org.
Deprecated
as a consequence of
Obtains the parameters for this client.
HttpParams being deprecated.
|
| private void |
| authSchemeRegistry | back to summary |
|---|---|
| private final Lookup<AuthSchemeProvider> authSchemeRegistry | |
| closeables | back to summary |
|---|---|
| private final List<Closeable> closeables | |
| connManager | back to summary |
|---|---|
| private final HttpClientConnectionManager connManager | |
| cookieSpecRegistry | back to summary |
|---|---|
| private final Lookup<CookieSpecProvider> cookieSpecRegistry | |
| cookieStore | back to summary |
|---|---|
| private final CookieStore cookieStore | |
| credentialsProvider | back to summary |
|---|---|
| private final CredentialsProvider credentialsProvider | |
| defaultConfig | back to summary |
|---|---|
| private final RequestConfig defaultConfig | |
| execChain | back to summary |
|---|---|
| private final ClientExecChain execChain | |
| log | back to summary |
|---|---|
| private final Log log | |
| routePlanner | back to summary |
|---|---|
| private final HttpRoutePlanner routePlanner | |
| InternalHttpClient | back to summary |
|---|---|
| public InternalHttpClient(final ClientExecChain execChain, final HttpClientConnectionManager connManager, final HttpRoutePlanner routePlanner, final Lookup<CookieSpecProvider> cookieSpecRegistry, final Lookup<AuthSchemeProvider> authSchemeRegistry, final CookieStore cookieStore, final CredentialsProvider credentialsProvider, final RequestConfig defaultConfig, final List<Closeable> closeables) | |
| close | back to summary |
|---|---|
| public void close() Implements java. Doc from java. Closes this stream and releases any system resources associated with it. If the stream is already closed then invoking this method has no effect. As noted in
| |
| determineRoute | back to summary |
|---|---|
| private HttpRoute determineRoute(final HttpHost target, final HttpRequest request, final HttpContext context) throws HttpException | |
| doExecute | back to summary |
|---|---|
| protected CloseableHttpResponse doExecute(final HttpHost target, final HttpRequest request, final HttpContext context) throws IOException, ClientProtocolException Implements abstract org.
| |
| getConfig | back to summary |
|---|---|
| public RequestConfig getConfig() Implements org. Doc from org. Returns actual request configuration.
| |
| getConnectionManager | back to summary |
|---|---|
| public ClientConnectionManager getConnectionManager() Implements org. Doc from org. Deprecated as a consequence of Obtains the connection manager used by this client.
| |
| getParams | back to summary |
|---|---|
| public HttpParams getParams() Implements org. Doc from org. Deprecated as a consequence of Obtains the parameters for this client. These parameters will become defaults for all requests being executed with this client, and for the parameters of dependent objects in this client.
| |
| setupContext | back to summary |
|---|---|
| private void setupContext(final HttpClientContext context) | |