private static final class HttpsEndpoint.HttpClient extends HttpClientConnection
| Modifier and Type | Field and Description |
|---|---|
private HttpsEndpoint.HttpsConnection |
connection
The associated secure connection.
|
| Constructor and Description |
|---|
HttpClient(String host,
int port,
HttpsEndpoint.HttpsConnection connection) |
HttpClient(String targetHost,
int targetPort,
String proxyHost,
int proxyPort,
HttpsEndpoint.HttpsConnection connection) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
idle()
Tells the connection that it is idle.
|
boolean |
shutdown(boolean force)
Closes the associated secure connection.
|
getSocket, newRequest, pingprivate final HttpsEndpoint.HttpsConnection connection
HttpClient(String host, int port, HttpsEndpoint.HttpsConnection connection) throws IOException
IOExceptionHttpClient(String targetHost, int targetPort, String proxyHost, int proxyPort, HttpsEndpoint.HttpsConnection connection) throws IOException
IOExceptionprotected void idle()
idle in class HttpClientConnectionpublic boolean shutdown(boolean force)
shutdown in interface TimedConnectionshutdown in class HttpClientConnectionCopyright 2007-2013, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.