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 | 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,
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,
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 | Method and Description |
---|---|
void |
ThrottlingHttpServiceHandler.closed(NHttpServerConnection conn)
Deprecated.
|
void |
BufferingHttpServiceHandler.closed(NHttpServerConnection conn)
Deprecated.
|
void |
AsyncNHttpServiceHandler.closed(NHttpServerConnection conn)
Deprecated.
|
void |
HttpAsyncService.closed(NHttpServerConnection conn) |
void |
ThrottlingHttpServiceHandler.connected(NHttpServerConnection conn)
Deprecated.
|
void |
BufferingHttpServiceHandler.connected(NHttpServerConnection conn)
Deprecated.
|
void |
AsyncNHttpServiceHandler.connected(NHttpServerConnection conn)
Deprecated.
|
void |
HttpAsyncService.connected(NHttpServerConnection conn) |
void |
HttpAsyncService.endOfInput(NHttpServerConnection conn) |
void |
HttpAsyncService.exception(NHttpServerConnection conn,
Exception cause) |
void |
ThrottlingHttpServiceHandler.exception(NHttpServerConnection conn,
HttpException httpex)
Deprecated.
|
void |
BufferingHttpServiceHandler.exception(NHttpServerConnection conn,
HttpException httpex)
Deprecated.
|
void |
AsyncNHttpServiceHandler.exception(NHttpServerConnection conn,
HttpException httpex)
Deprecated.
|
void |
ThrottlingHttpServiceHandler.exception(NHttpServerConnection conn,
IOException ex)
Deprecated.
|
void |
BufferingHttpServiceHandler.exception(NHttpServerConnection conn,
IOException ioex)
Deprecated.
|
void |
AsyncNHttpServiceHandler.exception(NHttpServerConnection conn,
IOException ex)
Deprecated.
|
void |
ThrottlingHttpServiceHandler.inputReady(NHttpServerConnection conn,
ContentDecoder decoder)
Deprecated.
|
void |
BufferingHttpServiceHandler.inputReady(NHttpServerConnection conn,
ContentDecoder decoder)
Deprecated.
|
void |
AsyncNHttpServiceHandler.inputReady(NHttpServerConnection conn,
ContentDecoder decoder)
Deprecated.
|
void |
HttpAsyncService.inputReady(NHttpServerConnection conn,
ContentDecoder decoder) |
void |
ThrottlingHttpServiceHandler.outputReady(NHttpServerConnection conn,
ContentEncoder encoder)
Deprecated.
|
void |
BufferingHttpServiceHandler.outputReady(NHttpServerConnection conn,
ContentEncoder encoder)
Deprecated.
|
void |
AsyncNHttpServiceHandler.outputReady(NHttpServerConnection conn,
ContentEncoder encoder)
Deprecated.
|
void |
HttpAsyncService.outputReady(NHttpServerConnection conn,
ContentEncoder encoder) |
void |
ThrottlingHttpServiceHandler.requestReceived(NHttpServerConnection conn)
Deprecated.
|
void |
BufferingHttpServiceHandler.requestReceived(NHttpServerConnection conn)
Deprecated.
|
void |
AsyncNHttpServiceHandler.requestReceived(NHttpServerConnection conn)
Deprecated.
|
void |
HttpAsyncService.requestReceived(NHttpServerConnection conn) |
void |
ThrottlingHttpServiceHandler.responseReady(NHttpServerConnection conn)
Deprecated.
|
void |
BufferingHttpServiceHandler.responseReady(NHttpServerConnection conn)
Deprecated.
|
void |
AsyncNHttpServiceHandler.responseReady(NHttpServerConnection conn)
Deprecated.
|
void |
HttpAsyncService.responseReady(NHttpServerConnection conn) |
void |
ThrottlingHttpServiceHandler.timeout(NHttpServerConnection conn)
Deprecated.
|
void |
BufferingHttpServiceHandler.timeout(NHttpServerConnection conn)
Deprecated.
|
void |
AsyncNHttpServiceHandler.timeout(NHttpServerConnection conn)
Deprecated.
|
void |
HttpAsyncService.timeout(NHttpServerConnection conn) |
Copyright © 2005–2022 The Apache Software Foundation. All rights reserved.