| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public EndpointDetails | Returns: this connection's endpoint details.Returns this connection's endpoint details. |
| public SocketAddress | Returns: this connection's local address ornull if it is not bound yet.Returns this connection's local address or |
| public ProtocolVersion | Returns: this connection's protocol version ornull if unknown.Returns this connection's protocol version or |
| public SocketAddress | Returns: this connection's remote address ornull if it is not connected yet or
unconnected.Returns this connection's remote address or |
| public SSLSession | Returns: this connection's SSL session ornull if TLS has not been activated.Returns this connection's SSL session or |
| public boolean |
| close | back to summary |
|---|---|
| public void close() throws IOException Redeclares java. Closes this connection gracefully. This method will attempt to flush the internal output
buffer prior to closing the underlying socket. This method MUST NOT be called from a
different thread to force shutdown of the connection. Use
| |
| getEndpointDetails | back to summary |
|---|---|
| public EndpointDetails getEndpointDetails() Returns this connection's endpoint details.
| |
| getLocalAddress | back to summary |
|---|---|
| public SocketAddress getLocalAddress() Returns this connection's local address or
| |
| getProtocolVersion | back to summary |
|---|---|
| public ProtocolVersion getProtocolVersion() Returns this connection's protocol version or
| |
| getRemoteAddress | back to summary |
|---|---|
| public SocketAddress getRemoteAddress() Returns this connection's remote address or
| |
| getSSLSession | back to summary |
|---|---|
| public SSLSession getSSLSession() Returns this connection's SSL session or
| |
| isOpen | back to summary |
|---|---|
| public boolean isOpen() Checks if this connection is open.
| |