public interface ManagedNHttpClientConnection
extends org.apache.http.nio.NHttpClientConnection, org.apache.http.HttpInetConnection
NHttpClientConnection
with methods to bind the connection to an arbitrary IOSession
and
to obtain SSL session details.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
String getId()
void bind(org.apache.http.nio.reactor.IOSession iosession)
org.apache.http.nio.reactor.IOSession getIOSession()
SSLSession getSSLSession()
null
otherwiseCopyright © 2010–2024 The Apache Software Foundation. All rights reserved.