|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
ContentDecoder
that serves as a base for all content
decoder implementations.ContentEncoder
that serves as a base for all content
encoder implementations.SessionInputBuffer
and
SessionOutputBuffer
implementations.HttpMessage
.SessionInputBuffer
and
SessionOutputBuffer
implementations.IOReactor
that can used as a subclass
for more specialized I/O reactors.SessionInputBuffer
.NHttpMessageParser
that serves as a base for all message
parser implementations.SessionOutputBuffer
.NHttpMessageWriter
that serves as a base for all message
writer implementations.IOReactor
that can run multiple
BaseIOReactor
instance in separate worker threads and distribute
newly created I/O session equally across those I/O reactors for a more
optimal resource utilization and a better I/O performance.InputStream
.OutputStream
.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.
addRequestInterceptor
.
addResponseInterceptor
.
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
.
AbstractIOReactor
that serves as a base
for more advanced IOReactor
implementations.Header
.HeaderElement
HeaderElementIterator
.HeaderIterator
.HttpContext
.InputStream
.HttpEntityEnclosingRequest
.HttpParams
interface.HttpProcessor
.HttpRequest
.HttpResponse
.HeaderIterator
based on a List
.NameValuePair
.RequestLine
.StatusLine
TokenIterator
.BasicTokenIterator
.
Socket
.
Socket
.
Socket
.
Socket
.
ConsumingNHttpEntity
that consumes content into a buffer.ByteArrayBuffer
with the given initial
capacity.
NByteArrayEntity
byte
value in this buffer at the specified
index.
ByteBuffer
instances.SessionRequest
.
SocketChannel
entry maintained by the I/O reactor.CharArrayBuffer
with the given initial
capacity.
char
value in this buffer at the specified
index.
SessionRequest
.
SelectionKey.OP_CONNECT
readiness.
SelectionKey.OP_CONNECT
event.
ConsumingNHttpEntityTemplate.finish()
method.
NHttpEntityWrapper.finish()
method.
ContentDecoder
and stores it in
this buffer.
HttpEntity
that allows content to be streamed from a
ContentDecoder
.ConsumingNHttpEntity
that forwards available content to a
ContentListener
.ContentInputBuffer
.ReadableByteChannel
that delegates to a ContentDecoder
.WritableByteChannel
that delegates to a ContentEncoder
.ContentDecoder
.InputStream
adaptor for ContentInputBuffer
.ConsumingNHttpEntity
.ContentEncoder
.OutputStream
adaptor for ContentOutputBuffer
.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
.
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.
SocketHttpServerConnection.createSessionInputBuffer(Socket, int, HttpParams)
SocketHttpServerConnection.createSessionOutputBuffer(Socket, int, HttpParams)
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.
HttpRequestParser
to be used
by this connection for parsing incoming HttpRequest
messages.
HttpMessageWriter
to be used for
writing out HTTP requests sent over this connection.
HttpRequestWriter
to be used
by this connection for writing out outgoing HttpRequest
messages.
HttpMessageParser
to be used for parsing
HTTP responses received over this connection.
HttpResponseParser
to be used
by this connection for parsing incoming HttpResponse
messages.
HttpMessageWriter
to be used for
writing out HTTP responses sent over this connection.
HttpResponseWriter
to be used
by this connection for writing out outgoing HttpResponse
messages.
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
.
allHeaders
.
allHeaders
.
BasicTokenIterator.currentToken
.
IOEventDispatch
interface for plain
(unencrypted) client-side HTTP connections.ConnectingIOReactor
.HttpContext
implementation that delegates resolution of an attribute
to the given default HttpContext
instance if the attribute is not
present in the local one.HttpParams
implementation that delegates resolution of a parameter
to the given default HttpParams
instance if the parameter is not
present in the local one.HttpRequest
objects.HttpResponse
objects.ListeningIOReactor
.NHttpClientConnection
interface.NHttpServerConnection
interface.IOEventDispatch
interface for plain
(unencrypted) server-side HTTP connections.HttpEntity
based on properties of the given message.
ByteBuffer
instances using
ByteBuffer.allocateDirect(int)
.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.
ContentProducer
.HttpEntity
s.Throwable
instance along with a time stamp.IOEventDispatch
.
HttpContext
attribute names for protocol execution.ByteBufferAllocator
interface.SessionRequest
.
FileChannel
FileChannel
NFileEntity
ReadableByteChannel
.
ReadableByteChannel
.
WritableByteChannel
.
Boolean
parameter value with the given name.
CoreConnectionPNames.CONNECTION_TIMEOUT
parameter.
InputStream
.
UnsupportedOperationException
.
CoreProtocolPNames.HTTP_CONTENT_CHARSET
parameter.
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.
CoreProtocolPNames.HTTP_ELEMENT_CHARSET
parameter.
Integer
parameter value with the given name.
CoreConnectionPNames.SO_LINGER
parameter.
Long
parameter value with the given name.
HttpTransportMetrics
for this session buffer.
HttpTransportMetrics
for this session buffer.
HttpMessage.setParams(HttpParams)
.
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.
CoreConnectionPNames.SOCKET_BUFFER_SIZE
parameter.
CoreConnectionPNames.SO_TIMEOUT
parameter.
CoreConnectionPNames.TCP_NODELAY
parameter.
CoreProtocolPNames.USER_AGENT
parameter.
buffer
.
CoreProtocolPNames.PROTOCOL_VERSION
parameter.
RuntimeException
.
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.
HttpHost
object that
represents the connection proxy.
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.
HttpResponse
object that
represents the actual HTTP response.
HttpHost
object that
represents the connection target.
HttpConnection
.HttpConnectionMetrics
interface.HttpParams
and manipulate HTTP connection parameters using Java Beans
conventions.HttpParams
.HttpHost
, specifying all values.
HttpHost
, with default scheme.
HttpHost
, with default scheme and port.
HttpHost
.
ProducingNHttpEntity
HttpParams
and manipulate HTTP protocol parameters using Java Beans
conventions.HttpParams
.HttpRequest
objects.HttpRequestHandler
matching a particular request URI.SessionInputBuffer
.NHttpMessageParser
implementation for HttpRequest
s.SessionOutputBuffer
.NHttpMessageWriter
implementation for HttpRequest
s.HttpResponse
objects.SessionInputBuffer
.NHttpMessageParser
implementation for HttpResponse
s.SessionOutputBuffer
.NHttpMessageWriter
implementation for HttpResponse
s.SessionInputBuffer
or
SessionOutputBuffer
.HttpTransportMetrics
.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
.IOSession
.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()
.
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
.
CoreConnectionPNames.STALE_CONNECTION_CHECK
parameter.
unsafe
.
equals
and hashCode
methods.HttpHost.equals(java.lang.Object)
and HttpHost.hashCode()
.
ListenerEndpoint
.File
with the given content type.
NHttpClientConnection
used by
IOEventDispatch
implementations to inform client-side connection
objects of I/O events.NHttpConnection
implementations
and implements functionality common to both client and server
HTTP connections.ProducingNHttpEntity
compatibility adaptor for blocking HTTP
entities.NHttpRequestHandler
matching a particular request URI.NHttpServerConnection
used by
IOEventDispatch
implementations to inform server-side connection
objects of I/O events.HttpParams
.String
object.org.apache.http
.org.apache.http.entity
and provides utility
classes for serialization and deserialization of HTTP content entities.org.apache.http.io
.org.apache.http.nio
.org.apache.http.nio.codecs
.org.apache.http.nio
including default
I/O reactor implementations and support for SSL/TLS transport security.byte
and
char
arrays
and various utility classes with static helper methods.Server
header.
HttpMessage
from the underlying data
source.
ParseException
without details.
ParseException
with a detail message.
HttpMessage
based on the initial input from the session buffer.
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
.
HttpEntity
that can stream content out into a
ContentEncoder
.ProtocolVersion
used per default.
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.
NHttpRequestHandler
as a handler for URIs
matching the given pattern.
HttpRequestHandler
as a handler for URIs
matching the given pattern.
Selector
.
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.Host
header.User-Agent
header.Connection
header
to the outgoing responses, which is essential for managing persistence of
HTTP/1.0
connections.Date header to the
outgoing responses.- ResponseDate() -
Constructor for class org.apache.http.protocol.ResponseDate
-
- responseEntity(HttpResponse, HttpContext) -
Method in interface org.apache.http.nio.protocol.NHttpRequestExecutionHandler
- Triggered when a response is received with an entity.
- responseFactory -
Variable in class org.apache.http.nio.protocol.AsyncNHttpServiceHandler
-
- responseFactory -
Variable in class org.apache.http.nio.protocol.NHttpServiceHandlerBase
- Deprecated.
- responseFactory -
Variable in class org.apache.http.nio.protocol.ThrottlingHttpServiceHandler
-
- responseInterceptors -
Variable in class org.apache.http.protocol.BasicHttpProcessor
-
- responseParser -
Variable in class org.apache.http.impl.nio.DefaultNHttpClientConnection
-
- responseReady(NHttpServerConnection) -
Method in interface org.apache.http.nio.NHttpServiceHandler
- Triggered when the connection is ready to accept a new HTTP response.
- responseReady(NHttpServerConnection) -
Method in class org.apache.http.nio.protocol.AsyncNHttpServiceHandler
-
- responseReady(NHttpServerConnection) -
Method in class org.apache.http.nio.protocol.BufferingHttpServiceHandler
-
- responseReady(NHttpServerConnection) -
Method in class org.apache.http.nio.protocol.ThrottlingHttpServiceHandler
-
- responseReceived(NHttpClientConnection) -
Method in interface org.apache.http.nio.NHttpClientHandler
- Triggered when an HTTP response is received.
- responseReceived(NHttpClientConnection) -
Method in class org.apache.http.nio.protocol.AsyncNHttpClientHandler
-
- responseReceived(NHttpClientConnection) -
Method in class org.apache.http.nio.protocol.BufferingHttpClientHandler
-
- responseReceived(NHttpClientConnection) -
Method in class org.apache.http.nio.protocol.ThrottlingHttpClientHandler
-
- ResponseServer - Class in org.apache.http.protocol
- ResponseServer is responsible for adding
Server
header. - ResponseServer() -
Constructor for class org.apache.http.protocol.ResponseServer
-
- responseWriter -
Variable in class org.apache.http.impl.nio.DefaultNHttpServerConnection
-
- resume() -
Method in class org.apache.http.impl.nio.reactor.DefaultListeningIOReactor
-
- resume() -
Method in interface org.apache.http.nio.reactor.ListeningIOReactor
- Resumes the I/O reactor restoring its ability to accept incoming
connections on all active endpoints.
BasicTokenIterator.currentToken
in BasicTokenIterator.currentHeader
.
Serializable
.IOSession
along with information about time of last I/O
operations on that session.SessionInputBuffer
based on
the ExpandableBuffer
class.SessionOutputBuffer
based on
the ExpandableBuffer
class.SessionRequest
along with the time the request
was made.SessionRequest
.Boolean
to the parameter with the given name
CoreConnectionPNames.CONNECTION_TIMEOUT
parameter.
CoreProtocolPNames.HTTP_CONTENT_CHARSET
parameter.
Double
to the parameter with the given name
CoreProtocolPNames.HTTP_ELEMENT_CHARSET
parameter.
Integer
to the parameter with the given name
CoreConnectionPNames.SO_LINGER
parameter.
Long
to the parameter with the given name
CoreConnectionPNames.SOCKET_BUFFER_SIZE
parameter.
CoreConnectionPNames.SO_TIMEOUT
parameter.
CoreConnectionPNames.STALE_CONNECTION_CHECK
parameter.
CoreConnectionPNames.TCP_NODELAY
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 tread.ContentOutputBuffer
interface that can be
shared by multiple threads, usually the I/O dispatch of an I/O reactor and
a worker tread.ContentInputBuffer
interface.NHttpRequestHandler
that abstracts away
the need to use NHttpResponseTrigger
.ContentOutputBuffer
interface.ContentListener
that reads and ignores all content.SO_TIMEOUT
) in milliseconds,
which is the timeout for waiting for data.
Socket
for receiving data from and transmitting data to
a remote server.SessionInputBuffer
implementation bound to a Socket
.SessionOutputBuffer
implementation bound to a Socket
.IOEventDispatch
interface for SSL
(encrypted) client-side HTTP connections.SSLContext
.
SSLContext
.
IOSession
with transport layer security capabilities based on the SSL/TLS protocol.IOEventDispatch
interface for SSL
(encrypted) server-side HTTP connections.SSLContext
.
SSLContext
.
Transfer-Encoding
header should be rejected.
String
.NStringEntity
HttpRequest
to be sent to the target server.
BasicHttpContext
.SessionRequest
times out.
String
tokens.CoreProtocolPNames.USE_EXPECT_CONTINUE
parameter.
User-Agent
header.
BaseIOReactor.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
.
UnsupportedOperationException
.
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |