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 |
DefaultNHttpClientConnection
Default implementation of the
NHttpClientConnection interface. |
class |
DefaultNHttpServerConnection
Default implementation of the
NHttpServerConnection interface. |
class |
NHttpConnectionBase
This class serves as a base for all
NHttpConnection implementations
and implements functionality common to both client and server
HTTP connections. |
Modifier and Type | Interface and Description |
---|---|
interface |
NHttpClientConnection
Abstract non-blocking client-side HTTP connection interface.
|
interface |
NHttpClientIOTarget
Extended version of the
NHttpClientConnection used by
IOEventDispatch implementations to inform client-side connection
objects of I/O events. |
interface |
NHttpServerConnection
Abstract non-blocking server-side HTTP connection interface.
|
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 |
---|---|
protected void |
NHttpHandlerBase.closeConnection(NHttpConnection conn,
Throwable cause) |
void |
EventListener.connectionClosed(NHttpConnection conn)
Triggered when a connection has been terminated.
|
void |
EventListener.connectionOpen(NHttpConnection conn)
Triggered when a new connection has been established.
|
void |
EventListener.connectionTimeout(NHttpConnection conn)
Triggered when a connection has timed out.
|
void |
EventListener.fatalIOException(IOException ex,
NHttpConnection conn)
Triggered when an I/O error caused a connection to be terminated.
|
void |
EventListener.fatalProtocolException(HttpException ex,
NHttpConnection conn)
Triggered when an HTTP protocol error caused a connection to be
terminated.
|
protected void |
NHttpHandlerBase.handleTimeout(NHttpConnection conn) |
protected void |
ThrottlingHttpServiceHandler.shutdownConnection(NHttpConnection conn,
Throwable cause) |
protected void |
NHttpHandlerBase.shutdownConnection(NHttpConnection conn,
Throwable cause) |
Copyright © 2005-2012 The Apache Software Foundation. All Rights Reserved.