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, ping
private final HttpsEndpoint.HttpsConnection connection
HttpClient(String host, int port, HttpsEndpoint.HttpsConnection connection) throws IOException
IOException
HttpClient(String targetHost, int targetPort, String proxyHost, int proxyPort, HttpsEndpoint.HttpsConnection connection) throws IOException
IOException
protected void idle()
idle
in class HttpClientConnection
public boolean shutdown(boolean force)
shutdown
in interface TimedConnection
shutdown
in class HttpClientConnection
Copyright 2007-2013, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.