public interface ManagedNHttpClientConnection extends org.apache.http.nio.NHttpClientConnection, HttpInetConnection
NHttpClientConnection
with methods to bind the connection to an arbitrary IOSession and
to obtain SSL session details.ACTIVE, CLOSED, CLOSING| Modifier and Type | Method and Description |
|---|---|
void |
bind(org.apache.http.nio.reactor.IOSession iosession)
Binds connection to the given I/O session.
|
String |
getId()
Returns connection ID which is expected to be unique
for the life span of the connection manager.
|
org.apache.http.nio.reactor.IOSession |
getIOSession()
Returns the underlying I/O session.
|
SSLSession |
getSSLSession()
Obtains the SSL session of the underlying connection, if any.
|
isRequestSubmitted, resetInput, resetOutput, submitRequestgetContext, getHttpRequest, getHttpResponse, getStatusclose, getMetrics, getSocketTimeout, isOpen, isStale, setSocketTimeout, shutdownrequestInput, requestOutput, shutdown, suspendInput, suspendOutputgetLocalAddress, getLocalPort, getRemoteAddress, getRemotePortString getId()
void bind(org.apache.http.nio.reactor.IOSession iosession)
org.apache.http.nio.reactor.IOSession getIOSession()
SSLSession getSSLSession()
null otherwiseCopyright © 2010–2015 The Apache Software Foundation. All rights reserved.