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, submitRequest
getContext, getHttpRequest, getHttpResponse, getStatus
close, getMetrics, getSocketTimeout, isOpen, isStale, setSocketTimeout, shutdown
requestInput, requestOutput, shutdown, suspendInput, suspendOutput
getLocalAddress, getLocalPort, getRemoteAddress, getRemotePort
String 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.