|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
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.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.ContentDecoder
that serves as a base for all content
decoder implementations.ContentEncoder
that serves as a base for all content
encoder implementations.DefaultBHttpClientConnection
HttpMessage
.AbstractHttpMessage.AbstractHttpMessage()
DefaultBHttpServerConnection
IOEventDispatch
implementation that supports both plain (non-encrypted)
and SSL encrypted HTTP connections.IOReactor
that can used as a subclass
for more specialized I/O reactors.SessionInputBuffer
.AbstractMessageParser.AbstractMessageParser(SessionInputBuffer,
LineParser, MessageConstraints)
NHttpMessageParser
that serves as a base for all message
parser implementations.AbstractMessageParser.AbstractMessageParser(SessionInputBuffer, LineParser,
MessageConstraints)
SessionOutputBuffer
.AbstractMessageWriter.AbstractMessageWriter(SessionOutputBuffer, LineFormatter)
NHttpMessageWriter
that serves as a base for all message
writer implementations.AbstractMessageWriter.AbstractMessageWriter(SessionOutputBuffer, LineFormatter)
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.AbstractMultiworkerIOReactor.AbstractMultiworkerIOReactor(IOReactorConfig, ThreadFactory)
AbstractNIOConnPool.AbstractNIOConnPool(ConnectingIOReactor,
NIOConnFactory, SocketAddressResolver, int, int)
SessionInputBufferImpl
SessionOutputBufferImpl
SelectionKey.OP_ACCEPT
readiness.
SelectionKey.OP_ACCEPT
event.
Throwable
object with the given time stamp
to the audit log.
Throwable
object to the audit log.
ByteBuffer
of the given size.
len
bytes to this buffer from the given source
array starting at index off
.
b
byte to this buffer.
len
chars to this buffer from the given source
array starting at index off
.
len
chars to this buffer from the given source
char array buffer starting at index off
.
len
chars to this buffer from the given source
array starting at index off
.
len
chars to this buffer from the given source
buffer starting at index off
.
0
.
ch
char to this buffer.
len
bytes to this buffer from the given source
array starting at index off
.
len
bytes to this buffer from the given source
array starting at index off
.
HttpAsyncRequestExecutor
and HttpAsyncRequester
HttpAsyncService
AbstractIOReactor
that serves as a base
for more advanced IOReactor
implementations.HttpAsyncClientExchangeHandler
that executes
a single HTTP request / response exchange.HttpAsyncRequestConsumer
.BasicAsyncClientExchangeHandler
.HttpAsyncRequestHandler
that delegates
the process of request handling to a HttpRequestHandler
.HttpAsyncRequestProducer
.HttpAsyncResponseConsumer
.HttpAsyncResponseProducer
.ConnFactory
implementation that creates
HttpClientConnection
instances given a HttpHost
instance.BasicConnFactory.BasicConnFactory(SocketFactory, SSLSocketFactory, int,
SocketConfig, ConnectionConfig)
.
BasicConnFactory.BasicConnFactory(int, SocketConfig, ConnectionConfig)
.
ConnPool
implementation that
represents a pool of blocking HttpClientConnection
connections
identified by an HttpHost
instance.BasicConnPool.BasicConnPool(SocketConfig, ConnectionConfig)
Future
interface.Header
.HeaderElement
HeaderElementIterator
.HeaderIterator
.HttpContext
.InputStream
.HttpEntityEnclosingRequest
.HttpRequest
.HttpResponse
.HeaderIterator
based on a List
.NameValuePair
.NIOConnFactory
implementation that creates
NHttpClientConnection
instances given a HttpHost
instance.BasicNIOConnFactory.BasicNIOConnFactory(SSLContext,
SSLSetupHandler, NHttpMessageParserFactory, NHttpMessageWriterFactory,
ByteBufferAllocator, ConnectionConfig)
BasicNIOConnFactory.BasicNIOConnFactory(SSLContext,
SSLSetupHandler, ConnectionConfig)
BasicNIOConnFactory.BasicNIOConnFactory(ConnectionConfig)
ConnPool
implementation that
represents a pool of non-blocking NHttpClientConnection
connections
identified by an HttpHost
instance.BasicNIOConnPool.BasicNIOConnPool(ConnectingIOReactor, NIOConnFactory, int)
BasicNIOConnPool.BasicNIOConnPool(ConnectingIOReactor,
ConnectionConfig)
PoolEntry
implementation that represents an entry
in a pool of non-blocking NHttpClientConnection
s identified by
an HttpHost
instance.PoolEntry
implementation that represents an entry
in a pool of blocking HttpClientConnection
s identified by
an HttpHost
instance.RequestLine
.StatusLine
TokenIterator
.BasicTokenIterator
.
HttpConnection
implementations
and provides functionality common to both client and server HTTP connections.Socket
.
IOSession
.
Socket
.
Socket
.
BufferInfo
HttpAsyncRequestExecutor
and HttpAsyncRequester
HttpAsyncService
BasicAsyncRequestProducer
or BasicAsyncResponseProducer
ByteArrayBuffer
with the given initial
capacity.
byte
value in this buffer at the specified
index.
ByteBuffer
instances.Cancellable
represents a process or an operation that can be
canceled.SessionRequest
.
SocketChannel
entry maintained by the I/O reactor.CharArrayBuffer
with the given initial
capacity.
char
value in this buffer at the specified
index.
ChunkedOutputStream.ChunkedOutputStream(int, SessionOutputBuffer)
ChunkedOutputStream.ChunkedOutputStream(int, SessionOutputBuffer)
SessionRequest
.
SelectionKey.OP_CONNECT
readiness.
SelectionKey.OP_CONNECT
event.
ConnPool
represents a shared pool connections can be leased from
and released back to.ConnPool
such as
maximum total number of connections or maximum connections per route
allowed.SSLBuffer
of size
.
HttpEntity.getContent()
and call InputStream.close()
on that;
otherwise call HttpEntity.writeTo(java.io.OutputStream)
which is required to free the resources.
HttpEntityWrapper.getContent()
and call InputStream.close()
on that;
otherwise call HttpEntityWrapper.writeTo(OutputStream)
which is required to free the resources.
EntityUtils.consume(HttpEntity)
AbstractAsyncRequestConsumer.onContentReceived(ContentDecoder, IOControl)
instead.
AbstractAsyncResponseConsumer.onContentReceived(ContentDecoder, IOControl)
instead.
ContentDecoder
.
ContentDecoder
.
ContentDecoder
.
SharedInputBuffer.consumeContent(ContentDecoder, IOControl)
BasicAsyncRequestProducer
or BasicAsyncResponseProducer
BasicAsyncRequestProducer
or BasicAsyncResponseProducer
ContentInputBuffer
.ReadableByteChannel
that delegates to a ContentDecoder
.WritableByteChannel
that delegates to a ContentEncoder
.InputStream
adaptor for ContentInputBuffer
.OutputStream
adaptor for ContentOutputBuffer
.ContentType
.
ContentType
without a charset.
ContentType
.
ContentType
with the given parameters.
HttpHost
instance from string.
HeapByteBufferAllocator
to be used
by HTTP connections for allocating ByteBuffer
objects.
HeapByteBufferAllocator
to be used
by HTTP connections for allocating ByteBuffer
objects.
HeapByteBufferAllocator
to be used
by HTTP connections for allocating ByteBuffer
objects.
HeapByteBufferAllocator
to be used
by HTTP connections for allocating ByteBuffer
objects.
DefaultNHttpClientConnection
based on the
given IOSession
.
DefaultNHttpServerConnection
based on the
given IOSession
.
DefaultNHttpClientConnection
based on the
given SSL IOSession
.
DefaultNHttpServerConnection
based on the
given IOSession
.
ContentDecoder
instances.
ContentEncoder
instances.
cacerts
file in the security properties directory).
EntityDeserializer
with the
LaxContentLengthStrategy
implementation to be used for
de-serializing entities received over this connection.
EntityDeserializer
with the
LaxContentLengthStrategy
implementation to be used for
de-serializing entities received over this connection.
EntitySerializer
with the
StrictContentLengthStrategy
implementation to be used for
serializing HTTP entities sent over this connection.
EntitySerializer
with the
StrictContentLengthStrategy
implementation to be used for
serializing HTTP entities sent over this connection.
DefaultHttpRequestFactory
to be used
for creating HttpRequest
objects received by over this
connection.
DefaultHttpRequestFactory
to be used
by HTTP connections for creating HttpRequest
objects.
DefaultHttpRequestFactory
to be used
by HTTP connections for creating HttpRequest
objects.
DefaultHttpResponseFactory
to be used
for creating HttpResponse
objects received by over this
connection.
DefaultHttpResponseFactory
to be used
by HTTP connections for creating HttpResponse
objects.
DefaultHttpResponseFactory
to be used
by HTTP connections for creating HttpResponse
objects.
HttpMessage
instance based on the content of the input
buffer containing the first line of the incoming HTTP message.
HttpMessageParser
to be used for parsing
HTTP requests received over this connection.
HttpMessageWriter
to be used for
writing out HTTP requests sent over this connection.
HttpMessageParser
to be used for parsing
HTTP responses received over this connection.
HttpMessageWriter
to be used for
writing out HTTP responses sent over this connection.
SocketInputBuffer
to be used for
receiving data from the given Socket
.
SocketInputBuffer
to be used for
receiving data from the given Socket
.
SessionOutputBuffer
to be used for
sending data to the given Socket
.
SessionOutputBuffer
to be used for
sending data to the given Socket
.
SSLIOSession
decorating the given
IOSession
.
SSLIOSession
decorating the given
IOSession
.
SSLIOSession
decorating the given
IOSession
.
SSLIOSession
decorating the given
IOSession
.
allHeaders
.
allHeaders
.
BasicTokenIterator.nextToken()
.
BasicHeaderValueFormatter.INSTANCE
BasicHeaderValueParser.INSTANCE
BasicLineFormatter.INSTANCE
BasicLineParser.INSTANCE
HttpClientConnection
.HttpClientConnection
s.HttpServerConnection
.HttpServerConnection
s.DefaultHttpClientIODispatch
ConnectingIOReactor
.DefaultConnectingIOReactor.DefaultConnectingIOReactor(IOReactorConfig, ThreadFactory)
DefaultConnectingIOReactor.DefaultConnectingIOReactor(IOReactorConfig)
DefaultBHttpClientConnection
IOEventDispatch
implementation
that supports both plain (non-encrypted) and SSL encrypted client side HTTP
connections.DefaultHttpClientIODispatch.DefaultHttpClientIODispatch(
NHttpClientEventHandler, ConnectionConfig)
DefaultHttpClientIODispatch.DefaultHttpClientIODispatch(
NHttpClientEventHandler, SSLContext, SSLSetupHandler, ConnectionConfig)
DefaultHttpClientIODispatch.DefaultHttpClientIODispatch(
NHttpClientEventHandler, SSLContext, ConnectionConfig)
HttpRequest
objects.SessionInputBuffer
.DefaultHttpRequestParser.DefaultHttpRequestParser(SessionInputBuffer, LineParser,
HttpRequestFactory, MessageConstraints)
NHttpMessageParser
implementation
for HttpRequest
s.DefaultHttpRequestParser.DefaultHttpRequestParser(
SessionInputBuffer, LineParser, HttpRequestFactory, MessageConstraints)
SessionOutputBuffer
.NHttpMessageWriter
implementation
for HttpRequest
s.DefaultHttpRequestWriter.DefaultHttpRequestWriter(SessionOutputBuffer, LineFormatter)
HttpResponse
objects.SessionInputBuffer
.DefaultHttpResponseParser.DefaultHttpResponseParser(SessionInputBuffer, LineParser,
HttpResponseFactory, MessageConstraints)
NHttpMessageParser
implementation
for HttpResponse
s.DefaultHttpResponseParser.DefaultHttpResponseParser(
SessionInputBuffer, LineParser, HttpResponseFactory, MessageConstraints)
SessionOutputBuffer
.NHttpMessageWriter
implementation
for HttpResponse
s.DefaultHttpResponseWriter.DefaultHttpResponseWriter(SessionOutputBuffer, LineFormatter)
DefaultBHttpServerConnection
IOEventDispatch
implementation
that supports both plain (non-encrypted) and SSL encrypted server side HTTP
connections.DefaultHttpServerIODispatch.DefaultHttpServerIODispatch(
NHttpServerEventHandler, ConnectionConfig)
DefaultHttpServerIODispatch.DefaultHttpServerIODispatch(
NHttpServerEventHandler, SSLContext, SSLSetupHandler, ConnectionConfig)
DefaultHttpServerIODispatch.DefaultHttpServerIODispatch(
NHttpServerEventHandler, SSLContext, ConnectionConfig)
ListeningIOReactor
.DefaultListeningIOReactor.DefaultListeningIOReactor(IOReactorConfig, ThreadFactory)
DefaultListeningIOReactor.DefaultListeningIOReactor(IOReactorConfig)
NHttpClientConnection
interface.DefaultNHttpClientConnection.DefaultNHttpClientConnection(
IOSession, int, int, ByteBufferAllocator, CharsetDecoder, CharsetEncoder,
MessageConstraints, ContentLengthStrategy, ContentLengthStrategy,
NHttpMessageWriterFactory, NHttpMessageParserFactory)
NHttpClientConnection
s.DefaultNHttpClientConnectionFactory.DefaultNHttpClientConnectionFactory(
NHttpMessageParserFactory, NHttpMessageWriterFactory, ByteBufferAllocator,
ConnectionConfig)
DefaultNHttpClientConnectionFactory.DefaultNHttpClientConnectionFactory(
ConnectionConfig)
NHttpServerConnection
interface.DefaultNHttpServerConnection.DefaultNHttpServerConnection(
IOSession, int, int, ByteBufferAllocator, CharsetDecoder, CharsetEncoder,
MessageConstraints, ContentLengthStrategy, ContentLengthStrategy,
NHttpMessageParserFactory, NHttpMessageWriterFactory)
NHttpServerConnection
s.DefaultNHttpServerConnectionFactory.DefaultNHttpServerConnectionFactory(
ByteBufferAllocator, NHttpMessageParserFactory, NHttpMessageWriterFactory,
ConnectionConfig)
DefaultNHttpServerConnectionFactory.DefaultNHttpServerConnectionFactory(ConnectionConfig)
DefaultHttpServerIODispatch
HttpEntity
based on properties of the given message.
ByteBuffer
instances using
ByteBuffer.allocateDirect(int)
.ContentLengthStrategy
implementations that disallows the use of
identity transfer encoding.BasicHttpEntity
based on properties of the given
message.
OutputStream
instance that transparently encodes
output data as it is being written out to the output stream.
HttpRequestHandler
for the request URI of the given request
and, if found, executes its
HttpRequestHandler.handle(HttpRequest, HttpResponse, HttpContext)
method.
HttpAsyncContentProducer
that relies on
inefficient and potentially blocking I/O operation redirection through
Channels.newChannel(java.io.InputStream)
.BHttpConnectionBase
BHttpConnectionBase
ContentProducer
.HttpEntity
s.Set
view of the mappings contained in this matcher.
Throwable
instance along with a time stamp.IOEventDispatch
.
HttpCoreContext
.ByteBufferAllocator
interface.SessionRequest
.
FileChannel
FileChannel
FileEntity.FileEntity(File, ContentType)
ReadableByteChannel
.
ReadableByteChannel
.
NByteArrayEntity.close()
NFileEntity.close()
NStringEntity.close()
WritableByteChannel
.
Future
.Content-Type
value from HttpEntity
exactly as
specified by the Content-Type
header of the entity.
null
otherwise.
Boolean
parameter value with the given name.
Content-Type
for the given MIME type.
ConnectionReuseStrategy
implementation to be used
to determine whether or not the underlying connection can be kept alive
after a particular HTTP request / response exchange.
CoreConnectionPNames.CONNECTION_TIMEOUT
parameter.
InputStream
.
UnsupportedOperationException
.
NIOReactorPNames.CONTENT_BUFFER_SIZE
parameter.
CoreProtocolPNames.HTTP_CONTENT_CHARSET
parameter.
ContentType.getOrDefault(HttpEntity)
ContentType.getOrDefault(HttpEntity)
HttpContext
instance.
ioThreadCount
.
Double
parameter value with the given name.
IOException
thrown during initialization
of this endpoint or null
, if initialization was successful.
IOException
instance if the request could not be
successfully executed due to an I/O error or null
if no
error occurred to this point.
NIOReactorPNames.GRACE_PERIOD
parameter.
CoreProtocolPNames.HTTP_ELEMENT_CHARSET
parameter.
HttpProcessor
implementation to be used to process
HTTP request and response messages for protocol compliance.
true
if interest Ops queueing is enabled, false
otherwise.
NIOReactorPNames.INTEREST_OPS_QUEUEING
parameter.
Integer
parameter value with the given name.
Content-Type
value from HttpEntity
.
Content-Type
value from HttpEntity
or returns the default value
ContentType.DEFAULT_TEXT
if not explicitly specified or incorrect (could not be parsed).
CoreConnectionPNames.SO_LINGER
parameter.
Long
parameter value with the given name.
CoreProtocolPNames.HTTP_MALFORMED_INPUT_ACTION
parameter.
HttpTransportMetrics
for this session buffer.
HttpTransportMetrics
for this session buffer.
Content-Type
value from HttpEntity
or returns the default value
ContentType.DEFAULT_TEXT
if not explicitly specified.
SocketOptions.SO_RCVBUF
parameter
for newly created sockets.
SocketOptions.SO_RCVBUF
parameter
for newly created sockets.
HttpRequest
HttpRequest
NIOReactorPNames.SELECT_INTERVAL
parameter.
IOSession
instance associated with the given selection
key.
IOSession
instance created as a result of this request
or null
if the request is still pending.
SocketOptions.SO_SNDBUF
parameter
for newly created sockets.
SocketOptions.SO_SNDBUF
parameter
for newly created sockets.
CoreConnectionPNames.SOCKET_BUFFER_SIZE
parameter.
CoreConnectionPNames.SO_KEEPALIVE
parameter.
SocketOptions.SO_LINGER
parameter
for newly created sockets.
SocketOptions.SO_LINGER
parameter
for newly created sockets.
CoreConnectionPNames.SO_REUSEADDR
parameter.
CoreConnectionPNames.SO_TIMEOUT
parameter.
CoreConnectionPNames.TCP_NODELAY
parameter.
CoreProtocolPNames.HTTP_UNMAPPABLE_INPUT_ACTION
parameter.
CoreProtocolPNames.USER_AGENT
parameter.
"<name>/<release> (Java/<java.version>)"
.
PoolEntry.getValidityDeadline()
buffer
.
CoreProtocolPNames.PROTOCOL_VERSION
parameter.
RuntimeException
.
0
.
ProtocolVersion.equals(java.lang.Object)
.
header
value consisting of
a name / value pair and a number of optional name / value parameters.HeaderElement
objects.Header
objects.ByteBuffer
instances using
ByteBuffer.allocate(int)
.HttpConnection
object that
represents the actual HTTP connection.
HttpConnection
object that
represents the actual HTTP connection.
Boolean
object that represents the
the flag indicating whether the actual request has been fully transmitted
to the target host.
Boolean
object that represents the
the flag indicating whether the actual request has been fully transmitted
to the target host.
HttpRequest
object that
represents the actual HTTP request.
HttpRequest
object that
represents the actual HTTP request.
HttpResponse
object that
represents the actual HTTP response.
HttpResponse
object that
represents the actual HTTP response.
HttpHost
object that
represents the connection target.
HttpHost
object that
represents the connection target.
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.HttpAsyncRequester.HttpAsyncRequester(HttpProcessor,
ConnectionReuseStrategy)
HttpAsyncRequester
.
HttpAsyncClientExchangeHandler
HttpAsyncRequestExecutor
is a fully asynchronous HTTP client side
protocol handler based on the NIO (non-blocking) I/O model.HttpAsyncRequestExecutor
.
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
.UriHttpAsyncRequestHandlerMapper
HttpAsyncRequestHandlerMapper
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.HttpAsyncService.HttpAsyncService(HttpProcessor,
ConnectionReuseStrategy, HttpResponseFactory, HttpAsyncRequestHandlerMapper,
HttpAsyncExpectationVerifier)
HttpAsyncService.HttpAsyncService(HttpProcessor,
ConnectionReuseStrategy, HttpResponseFactory, HttpAsyncRequestHandlerMapper,
HttpAsyncExpectationVerifier)
HttpAsyncServerProtocolHandler
.
HttpAsyncServerProtocolHandler
.
HttpAsyncServerProtocolHandler
.
HttpAsyncServerProtocolHandler
.
HttpConnection
instances.HttpConnection
.HttpConnectionMetrics
interface.HttpContext
that provides convenience
setters for user assignable attributes and getter for readable attributes.null
detail message.
HttpHost
instance with the given scheme, hostname and port.
HttpHost
instance with the default scheme and the given hostname and port.
HttpHost
instance with the default scheme and port and the given hostname.
HttpHost
instance with the given scheme, inet address and port.
HttpHost
, specifying all values.
HttpHost
instance with the default scheme and the given inet address
and port.
HttpHost
instance with the default scheme and port and the given inet
address.
HttpHost
.
HttpMessageParser
instances.HttpMessageWriter
instances.HttpParams
. Do not use.HttpProcessor
instances.HttpAsyncRequestExecutor
and HttpAsyncRequester
HttpRequestExecutor
is a client side HTTP protocol handler based
on the blocking (classic) I/O model.HttpRequest
objects.HttpRequestHandler
matching a particular HttpRequest
.UriHttpRequestHandlerMapper
HttpRequestHandlerMapper
DefaultHttpRequestParser
DefaultHttpRequestParser
DefaultHttpRequestWriter
DefaultHttpRequestWriter
HttpResponse
objects.DefaultHttpResponseParser
DefaultHttpResponseParser
DefaultHttpResponseWriter
DefaultHttpResponseWriter
HttpService
is a server side HTTP protocol handler based on
the classic (blocking) I/O model.HttpService.HttpService(HttpProcessor, ConnectionReuseStrategy,
HttpResponseFactory, HttpRequestHandlerMapper, HttpExpectationVerifier)
HttpService.HttpService(HttpProcessor, ConnectionReuseStrategy,
HttpResponseFactory, HttpRequestHandlerMapper)
HttpService.HttpService(HttpProcessor,
ConnectionReuseStrategy, HttpResponseFactory, HttpRequestHandlerResolver, HttpParams)
SessionInputBuffer
or
SessionOutputBuffer
.HttpTransportMetrics
.HttpProcessor
.beginIndex
and finishing at endIndex
.
0
and finishing
at ByteArrayBuffer.length()
.
beginIndex
and finishing at endIndex
.
0
and finishing
at CharArrayBuffer.length()
.
SessionInputBuffer
and
SessionOutputBuffer
instances to be used for sending and
receiving data.
SessionInputBuffer
and
SessionOutputBuffer
instances to be used for sending and
receiving data.
InputStream
.IOReactorConfig.Builder
.
IOSession
.true
if the pool entry has been invalidated.
true
if the entity has been received in its
entirety.
true
if the entity has been transferred in its
entirety.
true
if this buffer is empty, that is, its
ByteArrayBuffer.length()
is equal to 0
.
true
if this buffer is empty, that is, its
CharArrayBuffer.length()
is equal to 0
.
true
if this buffer is full, that is, its
ByteArrayBuffer.length()
is equal to its ByteArrayBuffer.capacity()
.
true
if this buffer is full, that is, its
CharArrayBuffer.length()
is equal to its CharArrayBuffer.capacity()
.
true
is the session has been fully initialized,
false
otherwise.
SelectionKey
immediately.
false
.
true
.
true
if an HTTP request has been submitted to the
target server.
true
if an HTTP response has been submitted to the
client.
separator
.
SocketOptions.SO_KEEPALIVE
parameter
for newly created sockets.
SocketOptions.SO_KEEPALIVE
parameter
for newly created sockets.
SocketOptions.SO_REUSEADDR
parameter
for newly created sockets.
SocketOptions.SO_REUSEADDR
parameter
for newly created sockets.
CoreConnectionPNames.STALE_CONNECTION_CHECK
parameter.
SocketOptions.TCP_NODELAY
parameter
for newly created sockets.
SocketOptions.TCP_NODELAY
parameter
for newly created sockets.
unsafe
.
equals
and hashCode
methods.LaxContentLengthStrategy
instance with the given length used per default
when content length is not explicitly specified in the message.
LaxContentLengthStrategy
instance.
HttpHost.equals(java.lang.Object)
and HttpHost.hashCode()
.
ListenerEndpoint
.Closeable
objects (such as
HttpConnection
}).
Closeable
objects (such as
HttpConnection
}).
Closeable
objects (such as
HttpConnection
).
File
with the given content type.
File
with the given content type.
NFileEntity.NFileEntity(File, ContentType, boolean)
NFileEntity.NFileEntity(File, ContentType)
NHttpClientEventHandler
NHttpConnection
implementations and provides
functionality common to both client and server HTTP connections.NHttpConnectionBase.NHttpConnectionBase(IOSession, int, int, ByteBufferAllocator,
CharsetDecoder, CharsetEncoder, ContentLengthStrategy, ContentLengthStrategy)
NHttpConnection
instances.EntityAsyncContentProducer
NHttpMessageParser
instances.NHttpMessageWriter
instances.HttpAsyncRequestExecutor
and HttpAsyncRequester
HttpAsyncRequestHandler
UriHttpAsyncRequestHandlerMapper
HttpAsyncRequestHandlerResolver
HttpAsyncExchange
NHttpServerEventHandler
IOReactorConfig
IOReactorConfig
IOReactorConfig
String
object.ContentDecoder
.
ContentDecoder
.
Server
header.
Content-Type
value.
HttpMessage
from the underlying data
source.
ParseException
without details.
ParseException
with a detail message.
HttpMessage
based on the initial input from the session buffer.
TokenParser
SSLBufferManagementStrategy
that never releases the underlying buffer.HttpAsyncClientExchangeHandler
that executes a series of pipelined HTTP requests.PipeliningClientExchangeHandler
.
PipeliningClientExchangeHandler
.
PoolEntry
instance.
PoolEntry
instance without an expiry deadline.
ContentDecoder
implementation based on the
properties of the given HttpMessage
and generates an instance of
HttpEntity
matching the properties of the content decoder.
ContentEncoder
implementation based on the
properties of the given HttpMessage
.
Socket
by resetting some of its properties.
Selector
.
ContentEncoder
.
ContentEncoder
.
ContentEncoder
.
ContentEncoder
.
SharedOutputBuffer.produceContent(ContentEncoder, IOControl)
BasicAsyncRequestProducer
or BasicAsyncResponseProducer
ProtocolVersion
used per default.
null
detail message.
InputStream.read(byte[], int, int)
behavior, but
also notifies the watcher when the contents have been consumed.
len
bytes of data from the session buffer into
an array of bytes.
b
.
len
bytes of data from this buffer into
an array of bytes.
SelectionKey.OP_READ
readiness.
SelectionKey.OP_READ
event on the given selection key.
HttpAsyncRequestHandler
as a handler for URIs
matching the given pattern.
NHttpRequestHandler
as a handler for URIs
matching the given pattern.
HttpAsyncRequestHandler
as a handler for URIs
matching the given pattern.
HttpRequestHandler
as a handler for URIs
matching the given pattern.
HttpRequestHandler
as a handler for URIs
matching the given pattern.
Selector
.
HttpRequestHandler
as a handler for URIs
matching the given pattern.
HttpAsyncRequestHandler
as a handler for URIs matching the given pattern.
Registry
instances.SSLBufferManagementStrategy
that releases the underlying buffer when deactivated.AbstractAsyncRequestConsumer.buildResult(HttpContext)
instead.
Connection
header
to the outgoing requests, which is essential for managing persistence of
HTTP/1.0
connections.Date
header
to the outgoing requests This interceptor is optional for client side
protocol processors.Expect
header.RequestExpectContinue.RequestExpectContinue(boolean)
AbstractAsyncRequestConsumer.onRequestReceived(HttpRequest)
instead.
Host
header.User-Agent
header.SocketAddressResolver
SocketAddressResolver
SocketAddressResolver
SocketAddressResolver
AbstractAsyncResponseConsumer.buildResult(HttpContext)
instead.
Connection
header
to the outgoing responses, which is essential for managing persistence of
HTTP/1.0
connections.Date
header to the
outgoing responses.AbstractAsyncResponseConsumer.onResponseReceived(HttpResponse)
instead.
Server
header.202 Accepted
(HTTP/1.0 - RFC 1945)
502 Bad Gateway
(HTTP/1.0 - RFC 1945)
400 Bad Request
(HTTP/1.1 - RFC 2616)
409 Conflict
(HTTP/1.1 - RFC 2616)
100 Continue
(HTTP/1.1 - RFC 2616)
201 Created
(HTTP/1.0 - RFC 1945)
417 Expectation Failed
(HTTP/1.1 - RFC 2616)
424 Failed Dependency
(WebDAV - RFC 2518)
403 Forbidden
(HTTP/1.0 - RFC 1945)
504 Gateway Timeout
(HTTP/1.1 - RFC 2616)
410 Gone
(HTTP/1.1 - RFC 2616)
505 HTTP Version Not Supported
(HTTP/1.1 - RFC 2616)
507 Insufficient Storage
(WebDAV - RFC 2518)
500 Server Error
(HTTP/1.0 - RFC 1945)
411 Length Required
(HTTP/1.1 - RFC 2616)
423 Locked
(WebDAV - RFC 2518)
405 Method Not Allowed
(HTTP/1.1 - RFC 2616)
301 Moved Permanently
(HTTP/1.0 - RFC 1945)
302 Moved Temporarily
(Sometimes Found
) (HTTP/1.0 - RFC 1945)
207 Multi-Status
(WebDAV - RFC 2518)
or
207 Partial Update OK
(HTTP/1.1 - draft-ietf-http-v11-spec-rev-01?)
300 Mutliple Choices
(HTTP/1.1 - RFC 2616)
204 No Content
(HTTP/1.0 - RFC 1945)
203 Non Authoritative Information
(HTTP/1.1 - RFC 2616)
406 Not Acceptable
(HTTP/1.1 - RFC 2616)
404 Not Found
(HTTP/1.0 - RFC 1945)
501 Not Implemented
(HTTP/1.0 - RFC 1945)
304 Not Modified
(HTTP/1.0 - RFC 1945)
200 OK
(HTTP/1.0 - RFC 1945)
206 Partial Content
(HTTP/1.1 - RFC 2616)
402 Payment Required
(HTTP/1.1 - RFC 2616)
412 Precondition Failed
(HTTP/1.1 - RFC 2616)
102 Processing
(WebDAV - RFC 2518)
407 Proxy Authentication Required
(HTTP/1.1 - RFC 2616)
408 Request Timeout
(HTTP/1.1 - RFC 2616)
413 Request Entity Too Large
(HTTP/1.1 - RFC 2616)
414 Request-URI Too Long
(HTTP/1.1 - RFC 2616)
416 Requested Range Not Satisfiable
(HTTP/1.1 - RFC 2616)
205 Reset Content
(HTTP/1.1 - RFC 2616)
303 See Other
(HTTP/1.1 - RFC 2616)
503 Service Unavailable
(HTTP/1.0 - RFC 1945)
101 Switching Protocols
(HTTP/1.1 - RFC 2616)
307 Temporary Redirect
(HTTP/1.1 - RFC 2616)
429 Too Many Requests
(Additional HTTP Status Codes - RFC 6585)
401 Unauthorized
(HTTP/1.0 - RFC 1945)
422 Unprocessable Entity
(WebDAV - RFC 2518)
415 Unsupported Media Type
(HTTP/1.1 - RFC 2616)
305 Use Proxy
(HTTP/1.1 - RFC 2616)
BasicTokenIterator.currentToken
in BasicTokenIterator.currentHeader
.
Serializable
.IOSessionImpl
InputStream
.SessionInputBuffer
based on
the ExpandableBuffer
class.SessionInputBufferImpl.SessionInputBufferImpl(int, int, CharsetDecoder,
ByteBufferAllocator)
SessionInputBufferImpl.SessionInputBufferImpl(int, int, Charset)
OutputStream
.SessionOutputBuffer
based on
the ExpandableBuffer
class.SessionOutputBufferImpl.SessionOutputBufferImpl(int, int, CharsetEncoder,
ByteBufferAllocator)
SessionOutputBufferImpl.SessionOutputBufferImpl(int, int, Charset)
SessionRequest
along
with the time the request was made.SessionRequest
.Boolean
to the parameter with the given name
Cancellable
callback to be invoked in case the underlying
connection times out or gets terminated prematurely by the client.
HttpConnectionFactory
instance.
NHttpConnectionFactory
instance.
ConnectionReuseStrategy
instance.
ConnectionReuseStrategy
instance.
CoreConnectionPNames.CONNECTION_TIMEOUT
parameter.
IOReactorConfig.Builder.setConnectTimeout(int)
ConnectionReuseStrategy
using constructor
NIOReactorPNames.CONTENT_BUFFER_SIZE
parameter.
CoreProtocolPNames.HTTP_CONTENT_CHARSET
parameter.
ioThreadCount
.
Double
to the parameter with the given name
ExceptionLogger
instance.
ExceptionLogger
instance.
HttpExpectationVerifier
instance.
HttpAsyncExpectationVerifier
instance.
HttpExpectationVerifier
using constructor
NIOReactorPNames.GRACE_PERIOD
parameter.
HttpRequestHandlerMapper
instance.
HttpAsyncRequestHandlerMapper
instance.
HttpRequestHandlerResolver
using constructor
CoreProtocolPNames.HTTP_ELEMENT_CHARSET
parameter.
HttpProcessor
instance.
HttpProcessor
instance.
HttpProcessor
using constructor
IOReactorConfig.Builder.setInterestOpQueued(boolean)
NIOReactorPNames.INTEREST_OPS_QUEUEING
parameter.
Integer
to the parameter with the given name
IOReactorConfig.Builder.setIoThreadCount(int)
CoreConnectionPNames.SO_LINGER
parameter.
Long
to the parameter with the given name
CoreProtocolPNames.HTTP_MALFORMED_INPUT_ACTION
parameter.
HttpResponseFactory
using constructor
IOReactorConfig.Builder.setRcvBufSize(int)
HttpResponseFactory
instance.
HttpResponseFactory
instance.
HttpResponseFactory
using constructor
IOReactorConfig.Builder.setSelectInterval(long)
NIOReactorPNames.SELECT_INTERVAL
parameter.
Server
response header value.
Server
response header value.
ServerSocketFactory
instance.
IOReactorConfig.Builder.setShutdownGracePeriod(long)
IOReactorConfig.Builder.setSndBufSize(int)
CoreConnectionPNames.SOCKET_BUFFER_SIZE
parameter.
IOReactorConfig.Builder.setSoKeepAlive(boolean)
CoreConnectionPNames.SO_KEEPALIVE
parameter.
IOReactorConfig.Builder.setSoLinger(int)
CoreConnectionPNames.SO_REUSEADDR
parameter.
IOReactorConfig.Builder.setSoReuseAddress(boolean)
IOReactorConfig.Builder.setSoTimeout(int)
CoreConnectionPNames.SO_TIMEOUT
parameter.
SSLContext
instance.
SSLContext
instance.
SSLServerSetupHandler
instance.
SSLSetupHandler
instance.
CoreConnectionPNames.STALE_CONNECTION_CHECK
parameter.
IOReactorConfig.Builder.setTcpNoDelay(boolean)
CoreConnectionPNames.TCP_NODELAY
parameter.
CoreProtocolPNames.HTTP_UNMAPPABLE_INPUT_ACTION
parameter.
CoreProtocolPNames.USE_EXPECT_CONTINUE
parameter.
CoreProtocolPNames.USER_AGENT
parameter.
CoreProtocolPNames.PROTOCOL_VERSION
parameter.
ContentInputBuffer
interface that can be
shared by multiple threads, usually the I/O dispatch of an I/O reactor and
a worker thread.SharedInputBuffer.SharedInputBuffer(int, ByteBufferAllocator)
ContentOutputBuffer
interface that can be
shared by multiple threads, usually the I/O dispatch of an I/O reactor and
a worker thread.SharedOutputBuffer.SharedOutputBuffer(int, ByteBufferAllocator)
ContentInputBuffer
interface.BasicAsyncRequestHandler
ContentOutputBuffer
interface.SO_TIMEOUT
) in milliseconds,
which is the timeout for waiting for data or, put differently,
a maximum period inactivity between two consecutive data packets).
SocketAddress
.DefaultBHttpClientConnection
SessionInputBufferImpl
SessionOutputBufferImpl
DefaultHttpClientIODispatch
SSLContext
.
SSLContext
.
SSLClientIOEventDispatch
SSLContext
.
SSLContext
.
SSLContext
instances.SSLContext
factory methods.SSLIOSession
SSLIOSession
is a decorator class intended to transparently extend
an IOSession
with transport layer security capabilities based on
the SSL/TLS protocol.SSLIOSession
class.
SSLIOSession
class.
SSLIOSession
class.
SSLSetupHandler
NHttpClientConnection
s.SSLNHttpClientConnectionFactory.SSLNHttpClientConnectionFactory(SSLContext,
SSLSetupHandler, NHttpMessageParserFactory, NHttpMessageWriterFactory,
ByteBufferAllocator, ConnectionConfig)
SSLNHttpClientConnectionFactory.SSLNHttpClientConnectionFactory(SSLContext,
SSLSetupHandler, ConnectionConfig)
SSLNHttpClientConnectionFactory.SSLNHttpClientConnectionFactory(ConnectionConfig)
NHttpServerConnection
s.SSLNHttpServerConnectionFactory.SSLNHttpServerConnectionFactory(SSLContext,
SSLSetupHandler, NHttpMessageParserFactory, NHttpMessageWriterFactory,
ByteBufferAllocator, ConnectionConfig)
SSLNHttpServerConnectionFactory.SSLNHttpServerConnectionFactory(SSLContext,
SSLSetupHandler, ConnectionConfig)
SSLNHttpServerConnectionFactory.SSLNHttpServerConnectionFactory(ConnectionConfig)
DefaultHttpServerIODispatch
SSLContext
.
SSLContext
.
SSLServerIOEventDispatch
SSLContext
.
SSLContext
.
SSLSetupHandler
HttpBenchmark
.Transfer-Encoding
header should be rejected.
StrictContentLengthStrategy
instance with the given length used per default
when content length is not explicitly specified in the message.
StrictContentLengthStrategy
instance.
String
.StringEntity.StringEntity(String, ContentType)
HttpRequest
to be sent to the target server.
HttpAsyncResponseProducer
.
HttpAsyncRequestExecutor
and HttpAsyncRequester
HttpAsyncService
SessionRequest
times out.
String
tokens.Content-Type
header.
CoreProtocolPNames.USE_EXPECT_CONTINUE
parameter.
SSLContextBuilder.setProtocol(String)
.
User-Agent
header.
AbstractIOReactor.timeoutCheck(SelectionKey, long)
method.
SelectionKey.OP_WRITE
readiness.
SelectionKey.OP_WRITE
event on the given selection key.
HttpMessage
to the underlying data
sink.
len
bytes from the specified byte array
starting at offset off
to this session buffer.
b.length
bytes from the specified byte array
to this session buffer.
len
bytes from the specified byte array
starting at offset off
to this buffer.
HttpMessage
passed as a parameter.
HttpMessage
.
InputStream
this entity was constructed
with to an OutputStream
.
UnsupportedOperationException
.
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |