Package | Description |
---|---|
org.apache.http.impl.nio |
Default implementations of HTTP connections for asynchronous,
even driven communication.
|
org.apache.http.impl.nio.pool |
Default implementations of client side connection pools
for asynchronous, even driven communication.
|
org.apache.http.impl.nio.reactor |
Default implementation of event driven network communication APIs
based on Java NIO.
|
org.apache.http.impl.nio.ssl | |
org.apache.http.nio |
Core HTTP component APIs and primitives for asynchronous, event
driven communication.
|
org.apache.http.nio.pool |
Client side connection pools APIs for asynchronous, event driven
communication.
|
org.apache.http.nio.reactor |
Event driven network communication APIs loosely based on
Doug Lea's
reactor pattern.
|
org.apache.http.nio.reactor.ssl |
TLS/SSL support for asynchronous, event driven communication.
|
Modifier and Type | Field and Description |
---|---|
protected IOSession |
NHttpConnectionBase.session |
Modifier and Type | Method and Description |
---|---|
protected void |
NHttpConnectionBase.bind(IOSession session)
Binds the connection to a different
IOSession . |
void |
SSLServerIOEventDispatch.connected(IOSession session)
Deprecated.
|
void |
SSLClientIOEventDispatch.connected(IOSession session)
Deprecated.
|
protected NHttpClientIOTarget |
DefaultClientIOEventDispatch.createConnection(IOSession session)
Deprecated.
Creates an instance of
DefaultNHttpClientConnection based on the
given IOSession . |
protected NHttpServerIOTarget |
SSLServerIOEventDispatch.createConnection(IOSession session)
Deprecated.
Creates an instance of
DefaultNHttpServerConnection based on the
given IOSession . |
protected NHttpServerIOTarget |
DefaultServerIOEventDispatch.createConnection(IOSession session)
Deprecated.
Creates an instance of
DefaultNHttpServerConnection based on the
given IOSession . |
protected NHttpClientIOTarget |
SSLClientIOEventDispatch.createConnection(IOSession session)
Deprecated.
Creates an instance of
DefaultNHttpClientConnection based on the
given SSL IOSession . |
DefaultNHttpClientConnection |
DefaultNHttpClientConnectionFactory.createConnection(IOSession session) |
DefaultNHttpServerConnection |
DefaultNHttpServerConnectionFactory.createConnection(IOSession session) |
protected DefaultNHttpClientConnection |
DefaultHttpClientIODispatch.createConnection(IOSession session) |
protected DefaultNHttpServerConnection |
DefaultHttpServerIODispatch.createConnection(IOSession session) |
DefaultNHttpClientConnection |
SSLNHttpClientConnectionFactory.createConnection(IOSession ioSession) |
DefaultNHttpServerConnection |
SSLNHttpServerConnectionFactory.createConnection(IOSession ioSession) |
protected DefaultNHttpServerConnection |
DefaultNHttpServerConnectionFactory.createConnection(IOSession session,
HttpRequestFactory requestFactory,
ByteBufferAllocator allocator,
HttpParams params)
Deprecated.
(4.3) no longer used.
|
protected DefaultNHttpServerConnection |
SSLNHttpServerConnectionFactory.createConnection(IOSession session,
HttpRequestFactory requestFactory,
ByteBufferAllocator allocator,
HttpParams params)
Deprecated.
(4.3) no longer used.
|
protected DefaultNHttpClientConnection |
DefaultNHttpClientConnectionFactory.createConnection(IOSession session,
HttpResponseFactory responseFactory,
ByteBufferAllocator allocator,
HttpParams params)
Deprecated.
(4.3) no longer used.
|
protected DefaultNHttpClientConnection |
SSLNHttpClientConnectionFactory.createConnection(IOSession session,
HttpResponseFactory responseFactory,
ByteBufferAllocator allocator,
HttpParams params)
Deprecated.
(4.3) no longer used.
|
protected SSLIOSession |
SSLServerIOEventDispatch.createSSLIOSession(IOSession session,
SSLContext sslContext,
SSLIOSessionHandler sslHandler)
Deprecated.
Creates an instance of
SSLIOSession decorating the given
IOSession . |
protected SSLIOSession |
SSLClientIOEventDispatch.createSSLIOSession(IOSession session,
SSLContext sslContext,
SSLIOSessionHandler sslHandler)
Deprecated.
Creates an instance of
SSLIOSession decorating the given
IOSession . |
protected SSLIOSession |
SSLNHttpClientConnectionFactory.createSSLIOSession(IOSession ioSession,
SSLContext sslContext,
SSLSetupHandler sslHandler) |
protected SSLIOSession |
SSLNHttpServerConnectionFactory.createSSLIOSession(IOSession ioSession,
SSLContext sslContext,
SSLSetupHandler sslHandler) |
void |
SSLServerIOEventDispatch.disconnected(IOSession session)
Deprecated.
|
void |
SSLClientIOEventDispatch.disconnected(IOSession session)
Deprecated.
|
void |
SSLServerIOEventDispatch.inputReady(IOSession session)
Deprecated.
|
void |
SSLClientIOEventDispatch.inputReady(IOSession session)
Deprecated.
|
void |
SSLServerIOEventDispatch.outputReady(IOSession session)
Deprecated.
|
void |
SSLClientIOEventDispatch.outputReady(IOSession session)
Deprecated.
|
void |
SSLServerIOEventDispatch.timeout(IOSession session)
Deprecated.
|
void |
SSLClientIOEventDispatch.timeout(IOSession session)
Deprecated.
|
Constructor and Description |
---|
DefaultNHttpClientConnection(IOSession session,
HttpResponseFactory responseFactory,
ByteBufferAllocator allocator,
HttpParams params)
|
DefaultNHttpClientConnection(IOSession session,
int bufferSize) |
DefaultNHttpClientConnection(IOSession session,
int bufferSize,
CharsetDecoder charDecoder,
CharsetEncoder charEncoder,
MessageConstraints constraints) |
DefaultNHttpClientConnection(IOSession session,
int bufferSize,
int fragmentSizeHint,
ByteBufferAllocator allocator,
CharsetDecoder charDecoder,
CharsetEncoder charEncoder,
MessageConstraints constraints,
ContentLengthStrategy incomingContentStrategy,
ContentLengthStrategy outgoingContentStrategy,
NHttpMessageWriterFactory<HttpRequest> requestWriterFactory,
NHttpMessageParserFactory<HttpResponse> responseParserFactory)
Creates new instance DefaultNHttpClientConnection given the underlying I/O session.
|
DefaultNHttpServerConnection(IOSession session,
HttpRequestFactory requestFactory,
ByteBufferAllocator allocator,
HttpParams params)
|
DefaultNHttpServerConnection(IOSession session,
int bufferSize) |
DefaultNHttpServerConnection(IOSession session,
int bufferSize,
CharsetDecoder charDecoder,
CharsetEncoder charEncoder,
MessageConstraints constraints) |
DefaultNHttpServerConnection(IOSession session,
int bufferSize,
int fragmentSizeHint,
ByteBufferAllocator allocator,
CharsetDecoder charDecoder,
CharsetEncoder charEncoder,
MessageConstraints constraints,
ContentLengthStrategy incomingContentStrategy,
ContentLengthStrategy outgoingContentStrategy,
NHttpMessageParserFactory<HttpRequest> requestParserFactory,
NHttpMessageWriterFactory<HttpResponse> responseWriterFactory)
Creates new instance DefaultNHttpServerConnection given the underlying I/O session.
|
NHttpConnectionBase(IOSession session,
ByteBufferAllocator allocator,
HttpParams params)
|
NHttpConnectionBase(IOSession session,
int bufferSize,
int fragmentSizeHint,
ByteBufferAllocator allocator,
CharsetDecoder charDecoder,
CharsetEncoder charEncoder,
ContentLengthStrategy incomingContentStrategy,
ContentLengthStrategy outgoingContentStrategy)
Creates new instance NHttpConnectionBase given the underlying I/O session.
|
NHttpConnectionBase(IOSession session,
int bufferSize,
int fragmentSizeHint,
ByteBufferAllocator allocator,
CharsetDecoder charDecoder,
CharsetEncoder charEncoder,
MessageConstraints constraints,
ContentLengthStrategy incomingContentStrategy,
ContentLengthStrategy outgoingContentStrategy)
Creates new instance NHttpConnectionBase given the underlying I/O session.
|
Modifier and Type | Method and Description |
---|---|
NHttpClientConnection |
BasicNIOConnFactory.create(HttpHost route,
IOSession session) |
Modifier and Type | Class and Description |
---|---|
class |
IOSessionImpl
Default implementation of
IOSession . |
Modifier and Type | Method and Description |
---|---|
IOSession |
SessionHandle.getSession()
Deprecated.
|
IOSession |
SessionRequestImpl.getSession() |
protected IOSession |
AbstractIOReactor.getSession(SelectionKey key)
Obtains
IOSession instance associated with the given selection
key. |
Modifier and Type | Method and Description |
---|---|
void |
SessionRequestImpl.completed(IOSession session) |
void |
AbstractIODispatch.connected(IOSession session) |
protected abstract T |
AbstractIODispatch.createConnection(IOSession session) |
void |
AbstractIODispatch.disconnected(IOSession session) |
void |
AbstractIODispatch.inputReady(IOSession session) |
void |
AbstractIODispatch.outputReady(IOSession session) |
protected void |
AbstractIOReactor.queueClosedSession(IOSession session)
Queues the given I/O session to be processed asynchronously as closed.
|
protected void |
AbstractIOReactor.sessionClosed(IOSession session)
Triggered when a session has been closed.
|
protected void |
BaseIOReactor.sessionClosed(IOSession session)
Processes closed I/O session.
|
void |
SessionClosedCallback.sessionClosed(IOSession session) |
protected void |
AbstractIOReactor.sessionCreated(SelectionKey key,
IOSession session)
Triggered when new session has been created.
|
protected void |
BaseIOReactor.sessionCreated(SelectionKey key,
IOSession session)
Processes newly created I/O session.
|
protected void |
AbstractIOReactor.sessionTimedOut(IOSession session)
Triggered when a session has timed out.
|
protected void |
BaseIOReactor.sessionTimedOut(IOSession session)
Processes timed out I/O session.
|
void |
AbstractIODispatch.timeout(IOSession session) |
void |
SSLSetupHandler.verify(IOSession ioSession,
SSLSession sslsession)
Deprecated.
Triggered when the SSL connection has been established and initial SSL
handshake has been successfully completed.
|
Constructor and Description |
---|
SessionHandle(IOSession session)
Deprecated.
|
SSLIOSession(IOSession session,
SSLContext sslContext,
SSLIOSessionHandler handler)
Deprecated.
|
SSLIOSession(IOSession session,
SSLContext sslContext,
SSLSetupHandler handler)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
protected NHttpServerIOTarget |
SSLServerIOEventDispatch.createConnection(IOSession session)
Deprecated.
|
protected NHttpClientIOTarget |
SSLClientIOEventDispatch.createConnection(IOSession session)
Deprecated.
|
protected SSLIOSession |
SSLServerIOEventDispatch.createSSLIOSession(IOSession session,
SSLContext sslContext,
SSLSetupHandler sslHandler)
Deprecated.
Creates an instance of
SSLIOSession decorating the given
IOSession . |
protected SSLIOSession |
SSLClientIOEventDispatch.createSSLIOSession(IOSession session,
SSLContext sslContext,
SSLSetupHandler sslHandler)
Deprecated.
Creates an instance of
SSLIOSession decorating the given
IOSession . |
Modifier and Type | Method and Description |
---|---|
T |
NHttpConnectionFactory.createConnection(IOSession session) |
Modifier and Type | Method and Description |
---|---|
C |
NIOConnFactory.create(T route,
IOSession session) |
Modifier and Type | Method and Description |
---|---|
IOSession |
SessionRequest.getSession()
Returns
IOSession instance created as a result of this request
or null if the request is still pending. |
Modifier and Type | Method and Description |
---|---|
void |
IOEventDispatch.connected(IOSession session)
Triggered after the given session has been just created.
|
void |
IOEventDispatch.disconnected(IOSession session)
Triggered when the given session has been terminated.
|
void |
IOEventDispatch.inputReady(IOSession session)
Triggered when the given session has input pending.
|
void |
IOEventDispatch.outputReady(IOSession session)
Triggered when the given session is ready for output.
|
void |
IOEventDispatch.timeout(IOSession session)
Triggered when the given session as timed out.
|
Modifier and Type | Class and Description |
---|---|
class |
SSLIOSession
SSLIOSession is a decorator class intended to transparently extend
an IOSession with transport layer security capabilities based on
the SSL/TLS protocol. |
Modifier and Type | Method and Description |
---|---|
void |
SSLSetupHandler.verify(IOSession ioSession,
SSLSession sslSession)
Triggered when the SSL connection has been established and initial SSL
handshake has been successfully completed.
|
Constructor and Description |
---|
SSLIOSession(IOSession session,
SSLMode sslMode,
HttpHost host,
SSLContext sslContext,
SSLSetupHandler handler)
Creates new instance of
SSLIOSession class. |
SSLIOSession(IOSession session,
SSLMode sslMode,
HttpHost host,
SSLContext sslContext,
SSLSetupHandler handler,
SSLBufferManagementStrategy bufferManagementStrategy)
Creates new instance of
SSLIOSession class. |
SSLIOSession(IOSession session,
SSLMode sslMode,
SSLContext sslContext,
SSLSetupHandler handler)
Creates new instance of
SSLIOSession class. |
Copyright © 2005–2022 The Apache Software Foundation. All rights reserved.