Package | Description |
---|---|
org.apache.http.impl.nio |
Default implementations of HTTP connections for asynchronous,
even driven communication.
|
org.apache.http.nio |
Core HTTP component APIs and primitives for asynchronous, event
driven communication.
|
org.apache.http.nio.protocol |
Core HTTP protocol execution framework and HTTP protocol handlers
for asynchronous, event driven communication.
|
Modifier and Type | Class and Description |
---|---|
class |
DefaultNHttpServerConnection
Default implementation of the
NHttpServerConnection
interface. |
Modifier and Type | Method and Description |
---|---|
void |
NHttpServerEventHandlerAdaptor.closed(NHttpServerConnection conn)
Deprecated.
|
void |
NHttpServerEventHandlerAdaptor.connected(NHttpServerConnection conn)
Deprecated.
|
void |
NHttpServerEventHandlerAdaptor.endOfInput(NHttpServerConnection conn)
Deprecated.
|
void |
NHttpServerEventHandlerAdaptor.exception(NHttpServerConnection conn,
java.lang.Exception ex)
Deprecated.
|
void |
NHttpServerEventHandlerAdaptor.inputReady(NHttpServerConnection conn,
ContentDecoder decoder)
Deprecated.
|
void |
NHttpServerEventHandlerAdaptor.outputReady(NHttpServerConnection conn,
ContentEncoder encoder)
Deprecated.
|
void |
NHttpServerEventHandlerAdaptor.requestReceived(NHttpServerConnection conn)
Deprecated.
|
void |
NHttpServerEventHandlerAdaptor.responseReady(NHttpServerConnection conn)
Deprecated.
|
void |
NHttpServerEventHandlerAdaptor.timeout(NHttpServerConnection conn)
Deprecated.
|
Modifier and Type | Interface and Description |
---|---|
interface |
NHttpServerIOTarget
Deprecated.
(4.2) no longer used
|
Modifier and Type | Method and Description |
---|---|
void |
NHttpServerEventHandler.closed(NHttpServerConnection conn)
Triggered when the connection is closed.
|
void |
NHttpServiceHandler.closed(NHttpServerConnection conn)
Deprecated.
Triggered when the connection is closed.
|
void |
NHttpServerEventHandler.connected(NHttpServerConnection conn)
Triggered when a new incoming connection is created.
|
void |
NHttpServiceHandler.connected(NHttpServerConnection conn)
Deprecated.
Triggered when a new incoming connection is created.
|
void |
NHttpServerEventHandler.endOfInput(NHttpServerConnection conn)
Triggered when the connection is closed by the opposite end point
(half-closed).
|
void |
NHttpServerEventHandler.exception(NHttpServerConnection conn,
java.lang.Exception ex)
Triggered if an error occurs during the HTTP exchange.
|
void |
NHttpServiceHandler.exception(NHttpServerConnection conn,
HttpException ex)
Deprecated.
Triggered when an HTTP protocol violation occurs while receiving
an HTTP request.
|
void |
NHttpServiceHandler.exception(NHttpServerConnection conn,
java.io.IOException ex)
Deprecated.
Triggered when an I/O error occurs while reading from or writing
to the underlying channel.
|
void |
NHttpServerEventHandler.inputReady(NHttpServerConnection conn,
ContentDecoder decoder)
Triggered when the underlying channel is ready for reading a
new portion of the request entity through the corresponding
content decoder.
|
void |
NHttpServiceHandler.inputReady(NHttpServerConnection conn,
ContentDecoder decoder)
Deprecated.
Triggered when the underlying channel is ready for reading a
new portion of the request entity through the corresponding
content decoder.
|
void |
NHttpServerEventHandler.outputReady(NHttpServerConnection conn,
ContentEncoder encoder)
Triggered when the underlying channel is ready for writing a
next portion of the response entity through the corresponding
content encoder.
|
void |
NHttpServiceHandler.outputReady(NHttpServerConnection conn,
ContentEncoder encoder)
Deprecated.
Triggered when the underlying channel is ready for writing a
next portion of the response entity through the corresponding
content encoder.
|
void |
NHttpServerEventHandler.requestReceived(NHttpServerConnection conn)
Triggered when a new HTTP request is received.
|
void |
NHttpServiceHandler.requestReceived(NHttpServerConnection conn)
Deprecated.
Triggered when a new HTTP request is received.
|
void |
NHttpServerEventHandler.responseReady(NHttpServerConnection conn)
Triggered when the connection is ready to accept a new HTTP response.
|
void |
NHttpServiceHandler.responseReady(NHttpServerConnection conn)
Deprecated.
Triggered when the connection is ready to accept a new HTTP response.
|
void |
NHttpServerEventHandler.timeout(NHttpServerConnection conn)
Triggered when no input is detected on this connection over the
maximum period of inactivity.
|
void |
NHttpServiceHandler.timeout(NHttpServerConnection conn)
Deprecated.
Triggered when no input is detected on this connection over the
maximum period of inactivity.
|
Modifier and Type | Field and Description |
---|---|
private NHttpServerConnection |
HttpAsyncService.HttpAsyncExchangeImpl.conn |
Modifier and Type | Method and Description |
---|---|
void |
BufferingHttpServiceHandler.closed(NHttpServerConnection conn)
Deprecated.
|
void |
AsyncNHttpServiceHandler.closed(NHttpServerConnection conn)
Deprecated.
|
void |
ThrottlingHttpServiceHandler.closed(NHttpServerConnection conn)
Deprecated.
|
void |
HttpAsyncService.closed(NHttpServerConnection conn) |
private void |
HttpAsyncService.commitFinalResponse(NHttpServerConnection conn,
HttpAsyncService.State state) |
private void |
HttpAsyncService.completeRequest(HttpAsyncService.Incoming incoming,
NHttpServerConnection conn,
HttpAsyncService.State state) |
private void |
HttpAsyncService.completeResponse(HttpAsyncService.Outgoing outgoing,
NHttpServerConnection conn,
HttpAsyncService.State state) |
void |
BufferingHttpServiceHandler.connected(NHttpServerConnection conn)
Deprecated.
|
void |
AsyncNHttpServiceHandler.connected(NHttpServerConnection conn)
Deprecated.
|
void |
ThrottlingHttpServiceHandler.connected(NHttpServerConnection conn)
Deprecated.
|
void |
HttpAsyncService.connected(NHttpServerConnection conn) |
void |
HttpAsyncService.endOfInput(NHttpServerConnection conn) |
void |
HttpAsyncService.exception(NHttpServerConnection conn,
java.lang.Exception cause) |
void |
BufferingHttpServiceHandler.exception(NHttpServerConnection conn,
HttpException httpex)
Deprecated.
|
void |
AsyncNHttpServiceHandler.exception(NHttpServerConnection conn,
HttpException httpex)
Deprecated.
|
void |
ThrottlingHttpServiceHandler.exception(NHttpServerConnection conn,
HttpException httpex)
Deprecated.
|
void |
BufferingHttpServiceHandler.exception(NHttpServerConnection conn,
java.io.IOException ioex)
Deprecated.
|
void |
AsyncNHttpServiceHandler.exception(NHttpServerConnection conn,
java.io.IOException ex)
Deprecated.
|
void |
ThrottlingHttpServiceHandler.exception(NHttpServerConnection conn,
java.io.IOException ex)
Deprecated.
|
private void |
ThrottlingHttpServiceHandler.handleRequest(HttpRequest request,
ThrottlingHttpServiceHandler.ServerConnState connState,
NHttpServerConnection conn)
Deprecated.
|
void |
BufferingHttpServiceHandler.inputReady(NHttpServerConnection conn,
ContentDecoder decoder)
Deprecated.
|
void |
AsyncNHttpServiceHandler.inputReady(NHttpServerConnection conn,
ContentDecoder decoder)
Deprecated.
|
void |
ThrottlingHttpServiceHandler.inputReady(NHttpServerConnection conn,
ContentDecoder decoder)
Deprecated.
|
void |
HttpAsyncService.inputReady(NHttpServerConnection conn,
ContentDecoder decoder) |
void |
BufferingHttpServiceHandler.outputReady(NHttpServerConnection conn,
ContentEncoder encoder)
Deprecated.
|
void |
AsyncNHttpServiceHandler.outputReady(NHttpServerConnection conn,
ContentEncoder encoder)
Deprecated.
|
void |
ThrottlingHttpServiceHandler.outputReady(NHttpServerConnection conn,
ContentEncoder encoder)
Deprecated.
|
void |
HttpAsyncService.outputReady(NHttpServerConnection conn,
ContentEncoder encoder) |
private void |
AsyncNHttpServiceHandler.processRequest(NHttpServerConnection conn,
HttpRequest request)
Deprecated.
|
void |
BufferingHttpServiceHandler.requestReceived(NHttpServerConnection conn)
Deprecated.
|
void |
AsyncNHttpServiceHandler.requestReceived(NHttpServerConnection conn)
Deprecated.
|
void |
ThrottlingHttpServiceHandler.requestReceived(NHttpServerConnection conn)
Deprecated.
|
void |
HttpAsyncService.requestReceived(NHttpServerConnection conn) |
void |
BufferingHttpServiceHandler.responseReady(NHttpServerConnection conn)
Deprecated.
|
void |
AsyncNHttpServiceHandler.responseReady(NHttpServerConnection conn)
Deprecated.
|
void |
ThrottlingHttpServiceHandler.responseReady(NHttpServerConnection conn)
Deprecated.
|
void |
HttpAsyncService.responseReady(NHttpServerConnection conn) |
private void |
AsyncNHttpServiceHandler.sendResponse(NHttpServerConnection conn,
HttpRequest request,
HttpResponse response)
Deprecated.
|
void |
BufferingHttpServiceHandler.timeout(NHttpServerConnection conn)
Deprecated.
|
void |
AsyncNHttpServiceHandler.timeout(NHttpServerConnection conn)
Deprecated.
|
void |
ThrottlingHttpServiceHandler.timeout(NHttpServerConnection conn)
Deprecated.
|
void |
HttpAsyncService.timeout(NHttpServerConnection conn) |
Constructor and Description |
---|
HttpAsyncExchangeImpl(HttpRequest request,
HttpResponse response,
HttpAsyncService.State state,
NHttpServerConnection conn,
HttpContext context) |