net.jini.jeri.ssl
Class HttpsEndpoint.HttpClient
java.lang.Object
com.sun.jini.jeri.internal.http.HttpClientConnection
net.jini.jeri.ssl.HttpsEndpoint.HttpClient
- All Implemented Interfaces:
- TimedConnection
- Enclosing class:
- HttpsEndpoint
private static final class HttpsEndpoint.HttpClient
- extends HttpClientConnection
Subclass of HttpClientConnection that closes the associated connection
when it shuts down and moves it to the idle list when it becomes idle.
Method Summary |
protected void |
idle()
Tells the connection that it is idle. |
boolean |
shutdown(boolean force)
Closes the associated secure connection. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
connection
private final HttpsEndpoint.HttpsConnection connection
- The associated secure connection.
HttpsEndpoint.HttpClient
HttpsEndpoint.HttpClient(String host,
int port,
HttpsEndpoint.HttpsConnection connection)
throws IOException
- Throws:
IOException
HttpsEndpoint.HttpClient
HttpsEndpoint.HttpClient(String targetHost,
int targetPort,
String proxyHost,
int proxyPort,
HttpsEndpoint.HttpsConnection connection)
throws IOException
- Throws:
IOException
idle
protected void idle()
- Tells the connection that it is idle.
- Overrides:
idle
in class HttpClientConnection
shutdown
public boolean shutdown(boolean force)
- Closes the associated secure connection.
- Specified by:
shutdown
in interface TimedConnection
- Overrides:
shutdown
in class HttpClientConnection
Copyright 2007-2010, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.