Package | Description |
---|---|
org.apache.http.impl.nio |
Default implementations for interfaces in
org.apache.http.nio . |
org.apache.http.nio |
The core HTTP components based on non-blocking I/O model (HttpCore NIO).
|
org.apache.http.nio.protocol |
Non-blocking HTTP protocol execution framework.
|
Modifier and Type | Class and Description |
---|---|
class |
DefaultNHttpServerConnection
Default implementation of the
NHttpServerConnection interface. |
Modifier and Type | Interface and Description |
---|---|
interface |
NHttpServerIOTarget
Extended version of the
NHttpServerConnection used by
IOEventDispatch implementations to inform server-side connection
objects of I/O events. |
Modifier and Type | Method and Description |
---|---|
void |
NHttpServiceHandler.closed(NHttpServerConnection conn)
Triggered when the connection is closed.
|
void |
NHttpServiceHandler.connected(NHttpServerConnection conn)
Triggered when a new incoming connection is created.
|
void |
NHttpServiceHandler.exception(NHttpServerConnection conn,
HttpException ex)
Triggered when an HTTP protocol violation occurs while receiving
an HTTP request.
|
void |
NHttpServiceHandler.exception(NHttpServerConnection conn,
IOException ex)
Triggered when an I/O error occurs while reading from or writing
to the underlying channel.
|
void |
NHttpServiceHandler.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.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.requestReceived(NHttpServerConnection conn)
Triggered when a new HTTP request is received.
|
void |
NHttpServiceHandler.responseReady(NHttpServerConnection conn)
Triggered when the connection is ready to accept a new HTTP response.
|
void |
NHttpServiceHandler.timeout(NHttpServerConnection conn)
Triggered when no input is detected on this connection over the
maximum period of inactivity.
|
Modifier and Type | Method and Description |
---|---|
void |
AsyncNHttpServiceHandler.closed(NHttpServerConnection conn) |
void |
BufferingHttpServiceHandler.closed(NHttpServerConnection conn) |
void |
ThrottlingHttpServiceHandler.closed(NHttpServerConnection conn) |
void |
AsyncNHttpServiceHandler.connected(NHttpServerConnection conn) |
void |
BufferingHttpServiceHandler.connected(NHttpServerConnection conn) |
void |
ThrottlingHttpServiceHandler.connected(NHttpServerConnection conn) |
void |
AsyncNHttpServiceHandler.exception(NHttpServerConnection conn,
HttpException httpex) |
void |
BufferingHttpServiceHandler.exception(NHttpServerConnection conn,
HttpException httpex) |
void |
ThrottlingHttpServiceHandler.exception(NHttpServerConnection conn,
HttpException httpex) |
void |
AsyncNHttpServiceHandler.exception(NHttpServerConnection conn,
IOException ex) |
void |
BufferingHttpServiceHandler.exception(NHttpServerConnection conn,
IOException ioex) |
void |
ThrottlingHttpServiceHandler.exception(NHttpServerConnection conn,
IOException ex) |
void |
NHttpServiceHandlerBase.exception(NHttpServerConnection conn,
IOException ex)
Deprecated.
|
void |
AsyncNHttpServiceHandler.inputReady(NHttpServerConnection conn,
ContentDecoder decoder) |
void |
BufferingHttpServiceHandler.inputReady(NHttpServerConnection conn,
ContentDecoder decoder) |
void |
ThrottlingHttpServiceHandler.inputReady(NHttpServerConnection conn,
ContentDecoder decoder) |
void |
AsyncNHttpServiceHandler.outputReady(NHttpServerConnection conn,
ContentEncoder encoder) |
void |
BufferingHttpServiceHandler.outputReady(NHttpServerConnection conn,
ContentEncoder encoder) |
void |
ThrottlingHttpServiceHandler.outputReady(NHttpServerConnection conn,
ContentEncoder encoder) |
void |
AsyncNHttpServiceHandler.requestReceived(NHttpServerConnection conn) |
void |
BufferingHttpServiceHandler.requestReceived(NHttpServerConnection conn) |
void |
ThrottlingHttpServiceHandler.requestReceived(NHttpServerConnection conn) |
void |
AsyncNHttpServiceHandler.responseReady(NHttpServerConnection conn) |
void |
BufferingHttpServiceHandler.responseReady(NHttpServerConnection conn) |
void |
ThrottlingHttpServiceHandler.responseReady(NHttpServerConnection conn) |
void |
AsyncNHttpServiceHandler.timeout(NHttpServerConnection conn) |
void |
BufferingHttpServiceHandler.timeout(NHttpServerConnection conn) |
void |
ThrottlingHttpServiceHandler.timeout(NHttpServerConnection conn) |
void |
NHttpServiceHandlerBase.timeout(NHttpServerConnection conn)
Deprecated.
|
Copyright © 2005-2012 The Apache Software Foundation. All Rights Reserved.