All Classes and Interfaces
Class
Description
Abstract
HttpAsyncRequestConsumer
implementation that relieves its
subclasses from having to manage internal state and provides a number of protected
event methods that they need to implement.Abstract
HttpAsyncResponseConsumer
implementation that relieves its
subclasses from having to manage internal state and provides a number of protected
event methods that they need to implement.Abstract
ContentDecoder
that serves as a base for all content
decoder implementations.Abstract
ContentEncoder
that serves as a base for all content
encoder implementations.Abstract
IOEventDispatch
implementation that supports both plain (non-encrypted)
and SSL encrypted HTTP connections.Generic implementation of
IOReactor
that can used as a subclass
for more specialized I/O reactors.Abstract
NHttpMessageParser
that serves as a base for all message
parser implementations.Abstract
NHttpMessageWriter
that serves as a base for all message
writer implementations.Generic implementation of
IOReactor
that can run multiple
BaseIOReactor
instances in separate worker threads and distribute
newly created I/O sessions equally across those I/O reactors for more
optimal resource utilization and better I/O performance.Abstract non-blocking connection pool.
Deprecated.
Deprecated.
(4.2) use
HttpAsyncService
Default implementation of
AbstractIOReactor
that serves as a base
for more advanced IOReactor
implementations.Basic implementation of
HttpAsyncClientExchangeHandler
that executes
a single HTTP request / response exchange.Basic implementation of
HttpAsyncRequestConsumer
.Deprecated.
(4.3) use
BasicAsyncClientExchangeHandler
.Basic implementation of
HttpAsyncRequestHandler
that delegates
the process of request handling to a HttpRequestHandler
.Basic implementation of
HttpAsyncRequestProducer
.Basic implementation of
HttpAsyncResponseConsumer
.Basic implementation of
HttpAsyncResponseProducer
.A basic
NIOConnFactory
implementation that creates
NHttpClientConnection
instances given a HttpHost
instance.A very basic
ConnPool
implementation that
represents a pool of non-blocking NHttpClientConnection
connections
identified by an HttpHost
instance.A basic
PoolEntry
implementation that represents an entry
in a pool of non-blocking NHttpClientConnection
s identified by
an HttpHost
instance.Deprecated.
(4.1) Use
BufferInfo
Deprecated.
(4.2) use
HttpAsyncRequestExecutor
and HttpAsyncRequester
Deprecated.
(4.2) use
HttpAsyncService
Deprecated.
use (4.2)
BasicAsyncRequestProducer
or BasicAsyncResponseProducer
Abstract interface to allocate
ByteBuffer
instances.SocketChannel
entry maintained by the I/O reactor.Implements chunked transfer coding.
Implements chunked transfer coding.
ConnectingIOReactor represents an I/O reactor capable of establishing
connections to remote hosts.
Deprecated.
use (4.2)
BasicAsyncRequestProducer
or BasicAsyncResponseProducer
Deprecated.
use (4.2)
BasicAsyncRequestProducer
or BasicAsyncResponseProducer
HTTP entity wrapper whose content is provided by a
ContentInputBuffer
.Abstract HTTP content decoder.
A
ReadableByteChannel
that delegates to a ContentDecoder
.Abstract HTTP content encoder.
A
WritableByteChannel
that delegates to a ContentEncoder
.Generic content input buffer.
InputStream
adaptor for ContentInputBuffer
.Deprecated.
(4.2)
Generic content output buffer.
OutputStream
adaptor for ContentOutputBuffer
.Deprecated.
(4.2) use
DefaultHttpClientIODispatch
Default implementation of
ConnectingIOReactor
.Default
IOEventDispatch
implementation
that supports both plain (non-encrypted) and SSL encrypted client side HTTP
connections.Default
NHttpMessageParser
implementation
for HttpRequest
s.Default factory for request message parsers.
Default
NHttpMessageWriter
implementation
for HttpRequest
s.Default factory for request message writers.
Default
NHttpMessageParser
implementation
for HttpResponse
s.Default factory for response message parsers.
Default
NHttpMessageWriter
implementation
for HttpResponse
s.Default factory for response message writers.
Default
IOEventDispatch
implementation
that supports both plain (non-encrypted) and SSL encrypted server side HTTP
connections.Default implementation of
ListeningIOReactor
.Default implementation of the
NHttpClientConnection
interface.Default factory for plain (non-encrypted), non-blocking
NHttpClientConnection
s.Default implementation of the
NHttpServerConnection
interface.Default factory for plain (non-encrypted), non-blocking
NHttpServerConnection
s.Deprecated.
(4.2) use
DefaultHttpServerIODispatch
Allocates
ByteBuffer
instances using
ByteBuffer.allocateDirect(int)
.Basic implementation of
HttpAsyncContentProducer
that relies on
inefficient and potentially blocking I/O operation redirection through
Channels.newChannel(java.io.InputStream)
.This class changed from package private to public in version 4.4.8.
Deprecated.
(4.2) do not use
Type of I/O event notifications I/O sessions can declare interest in.
A
Throwable
instance along with a time stamp.A buffer that expand its capacity on demand using
ByteBufferAllocator
interface.A content decoder capable of transferring data directly to a
FileChannel
A content encoder capable of transferring data directly from a
FileChannel
Allocates
ByteBuffer
instances using
ByteBuffer.allocate(int)
.HttpAsyncClientExchangeHandler
represents a callback interface whose
methods get invoked when executing one or multiple HTTP message exchanges
on the client side.HttpAsyncContentProducer
is a callback interface whose methods
get invoked to stream out message content to a non-blocking HTTP connection.HttpAsyncExchange
represents a server-side HTTP message exchange
where an HTTP response can be deferred without blocking the I/O event thread
and triggered asynchronously at a later point of later time.HttpAsyncExpectationVerifier
defines a strategy to verify whether
or not an incoming HTTP request meets the target server's expectations.HttpAsyncRequestConsumer
is a callback interface whose methods
get invoked to process an HTTP request message and to stream message
content from a non-blocking HTTP connection on the server side.HttpAsyncRequester
is a utility class that can be used
in conjunction with HttpAsyncRequestExecutor
to initiate execution
of asynchronous HTTP requests.Deprecated.
HttpAsyncRequestExecutor
is a fully asynchronous HTTP client side
protocol handler based on the NIO (non-blocking) I/O model.HttpAsyncRequestHandler
represents a routine for asynchronous
processing of a specific group of non-blocking HTTP requests.HttpAsyncRequestHandlerMapper
can be used to resolve an instance
of HttpAsyncRequestHandler
matching a particular HttpRequest
.Deprecated.
(4.3) use
UriHttpAsyncRequestHandlerMapper
Deprecated.
HttpAsyncRequestProducer
is a callback interface whose methods
get invoked to generate an HTTP request message and to stream message
content to a non-blocking HTTP connection.HttpAsyncResponseConsumer
is a callback interface whose methods
get invoked to process an HTTP response message and to stream message
content from a non-blocking HTTP connection on the client side.HttpAsyncResponseProducer
is a callback interface whose methods
get invoked to generate an HTTP response message and to stream message
content to a non-blocking HTTP connection on the server side.HttpAsyncService
is a fully asynchronous HTTP server side protocol
handler based on the non-blocking (NIO) I/O model.Deprecated.
(4.2) use
HttpAsyncRequestExecutor
and HttpAsyncRequester
Deprecated.
(4.1) use
DefaultHttpRequestParser
Deprecated.
(4.1) use
DefaultHttpRequestWriter
Deprecated.
(4.1) use
DefaultHttpResponseParser
Deprecated.
(4.1) use
DefaultHttpResponseWriter
Content decoder that reads data without any transformation.
Content encoder that writes data without any transformation.
Connection input/output control interface.
IOEventDispatch interface is used by I/O reactors to notify clients of I/O
events pending for a particular session.
HttpCore NIO is based on the Reactor pattern as described by Doug Lea.
I/O reactor configuration parameters.
I/O exception that can be thrown by an I/O reactor.
Abstract exception handler intended to deal with potentially recoverable
I/O exceptions thrown by an I/O reactor.
IOReactorStatus represents an internal status of an I/O reactor.
IOSession interface represents a sequence of logically related data exchanges
between two end points.
Default implementation of
IOSession
.Content decoder that cuts off after a defined number of bytes.
Content encoder that cuts off after a defined number of bytes.
ListenerEndpoint interface represents an endpoint used by an I/O reactor
to listen for incoming connection from remote clients.
Listener endpoint callback interface used internally by I/O reactor
implementations.
Default implementation of
ListenerEndpoint
.ListeningIOReactor represents an I/O reactor capable of listening for
incoming connections on one or several ports.
A simple self contained, repeatable non-blocking entity that retrieves
its content from a byte array.
A self contained, repeatable non-blocking entity that retrieves its content
from a file.
Abstract non-blocking client-side HTTP connection interface.
Abstract client-side HTTP protocol handler.
Deprecated.
(4.2) use
NHttpClientEventHandler
Deprecated.
(4.2) no longer used
Abstract non-blocking HTTP connection interface.
This class serves as a base for all
NHttpConnection
implementations and provides
functionality common to both client and server HTTP connections.Factory for
NHttpConnection
instances.Deprecated.
(4.2) use
EntityAsyncContentProducer
Deprecated.
(4.2) do not use
Abstract HTTP message parser for non-blocking connections.
Factory for
NHttpMessageParser
instances.Abstract HTTP message writer for non-blocking connections.
Factory for
NHttpMessageWriter
instances.Deprecated.
(4.2) use
HttpAsyncRequestExecutor
and HttpAsyncRequester
Deprecated.
(4.2) use
HttpAsyncRequestHandler
Deprecated.
(4.2) use
UriHttpAsyncRequestHandlerMapper
Deprecated.
(4.2) use
HttpAsyncRequestHandlerResolver
Deprecated.
(4.2) use
HttpAsyncExchange
Abstract non-blocking server-side HTTP connection interface.
Abstract server-side HTTP event handler.
Deprecated.
(4.2) no longer used
Deprecated.
(4.2) use
NHttpServerEventHandler
Factory for poolable non-blocking connections.
Deprecated.
(4.2) use
IOReactorConfig
Deprecated.
(4.2) use
IOReactorConfig
Deprecated.
(4.2) use
IOReactorConfig
A simple, self contained, repeatable non-blocking entity that retrieves
its content from a
String
object.A
SSLBufferManagementStrategy
that never releases the underlying buffer.Pipelining implementation of
HttpAsyncClientExchangeHandler
that executes a series of pipelined HTTP requests.Deprecated.
use (4.2)
BasicAsyncRequestProducer
or BasicAsyncResponseProducer
A
SSLBufferManagementStrategy
that releases the underlying buffer when deactivated.SessionBufferStatus interface is intended to query the status of session
I/O buffers.
Session callback interface used internally by I/O reactor implementations.
Deprecated.
(4.2) use
IOSessionImpl
Session input buffer for non-blocking connections.
Default implementation of
SessionInputBuffer
based on
the ExpandableBuffer
class.Session output buffer for non-blocking connections.
Default implementation of
SessionOutputBuffer
based on
the ExpandableBuffer
class.SessionRequest interface represents a request to establish a new connection
(or session) to a remote host.
SessionRequestCallback interface can be used to get notifications of
completion of session requests asynchronously without having to wait
for it, blocking the current thread of execution.
Session request handle class used by I/O reactor implementations to keep
a reference to a
SessionRequest
along
with the time the request was made.Default implementation of
SessionRequest
.Implementation of the
ContentInputBuffer
interface that can be
shared by multiple threads, usually the I/O dispatch of an I/O reactor and
a worker thread.Implementation of the
ContentOutputBuffer
interface that can be
shared by multiple threads, usually the I/O dispatch of an I/O reactor and
a worker thread.Basic implementation of the
ContentInputBuffer
interface.Deprecated.
(4.2) use
BasicAsyncRequestHandler
Basic implementation of the
ContentOutputBuffer
interface.Deprecated.
(4.2)
Provides access to the underlying Socket.
Strategy that resolves an abstract connection route to a local or a remote
SocketAddress
.Managed internal SSL buffer.
Encapsulates logic to manager SSL input/output buffers.
Deprecated.
(4.2) use
DefaultHttpClientIODispatch
Deprecated.
(4.2) use
SSLClientIOEventDispatch
Deprecated.
(4.2) use
SSLIOSession
SSLIOSession
is a decorator class intended to transparently extend
an IOSession
with transport layer security capabilities based on
the SSL/TLS protocol.Deprecated.
(4.2) Use
SSLSetupHandler
Deprecated.
(4.2)
Default factory for SSL encrypted, non-blocking
NHttpClientConnection
s.Default factory for SSL encrypted, non-blocking
NHttpServerConnection
s.Deprecated.
(4.2) use
DefaultHttpServerIODispatch
Deprecated.
(4.2) use
SSLServerIOEventDispatch
Deprecated.
(4.2) use
SSLSetupHandler
Callback interface that can be used to customize various aspects of
the TLS/SSL protocol.
Deprecated.
(4.2) use
HttpAsyncRequestExecutor
and HttpAsyncRequester
Deprecated.
(4.2) use
HttpAsyncService
Maintains a map of HTTP request handlers keyed by a request URI pattern.
HttpAsyncRequestExecutor
andHttpAsyncRequester