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 |
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 provides
functionality common to both client and server HTTP connections. |
Modifier and Type | Interface and Description |
---|---|
interface |
NHttpConnectionFactory<T extends NHttpConnection>
Factory for
NHttpConnection instances. |
Modifier and Type | Interface and Description |
---|---|
interface |
NHttpClientConnection
Abstract non-blocking client-side HTTP connection interface.
|
interface |
NHttpClientIOTarget
Deprecated.
(4.2) no longer used
|
interface |
NHttpServerConnection
Abstract non-blocking server-side HTTP connection interface.
|
interface |
NHttpServerIOTarget
Deprecated.
(4.2) no longer used
|
Modifier and Type | Method and Description |
---|---|
protected void |
NHttpHandlerBase.closeConnection(NHttpConnection conn,
Throwable cause)
Deprecated.
|
void |
EventListener.connectionClosed(NHttpConnection conn)
Deprecated.
Triggered when a connection has been terminated.
|
void |
EventListener.connectionOpen(NHttpConnection conn)
Deprecated.
Triggered when a new connection has been established.
|
void |
EventListener.connectionTimeout(NHttpConnection conn)
Deprecated.
Triggered when a connection has timed out.
|
void |
EventListener.fatalIOException(IOException ex,
NHttpConnection conn)
Deprecated.
Triggered when an I/O error caused a connection to be terminated.
|
void |
EventListener.fatalProtocolException(HttpException ex,
NHttpConnection conn)
Deprecated.
Triggered when an HTTP protocol error caused a connection to be
terminated.
|
protected void |
NHttpHandlerBase.handleTimeout(NHttpConnection conn)
Deprecated.
|
protected void |
NHttpHandlerBase.shutdownConnection(NHttpConnection conn,
Throwable cause)
Deprecated.
|
protected void |
ThrottlingHttpServiceHandler.shutdownConnection(NHttpConnection conn,
Throwable cause)
Deprecated.
|
Copyright © 2005–2022 The Apache Software Foundation. All rights reserved.