The application programming interface is based on the concept of channels and event handlers. The channels act as conduits for asynchronous data output. They are generally expected to be thread-safe and could be used by multiple threads concurrently. The event handlers react to asynchronous signals or events and communicate with the opposite endpoint through available channels. Event handlers can be specialized as data producers, data consumers or can be both. Generally event handlers can only be used by a single thread at a time and do not require synchronization as long as they do not interact with event handlers run by separate threads.
| Modifier and Type | Interface and Description |
|---|---|
| public interface | AsyncClientExchangeHandler
Abstract asynchronous client side message exchange handler that acts as a request producer and a response consumer. |
| public interface | AsyncDataConsumer
Abstract asynchronous data consumer. |
| public interface | AsyncDataExchangeHandler
Abstract asynchronous data exchange handler that acts as a data consumer and a data producer. |
| public interface | AsyncDataProducer
Abstract asynchronous data producer. |
| public interface | |
| public interface | AsyncEntityProducer
Abstract asynchronous message entity producer. |
| public interface | AsyncFilterChain
AsyncFilterChain represents a single element in the server side request processing chain. |
| public interface | AsyncFilterHandler
AsyncFilterHandler represents a routine for handling all incoming requests in the server side request processing chain. |
| public interface | AsyncPushConsumer
Abstract asynchronous push response consumer. |
| public interface | AsyncPushProducer
Abstract asynchronous push response producer. |
| public interface | |
| public interface | AsyncRequestProducer
Abstract asynchronous request producer. |
| public interface | |
| public interface | AsyncResponseProducer
Abstract asynchronous response producer. |
| public interface | AsyncServerExchangeHandler
Abstract asynchronous server side message exchange handler that acts as a request consumer and a response producer. |
| public interface | AsyncServerRequestHandler<
request representation. T>AsyncServerRequestHandler represents a routine for processing of a specific group of HTTP requests. |
| public interface | CapacityChannel
Abstract capacity update channel. |
| public interface | ContentDecoder
Abstract HTTP content decoder. |
| public interface | ContentEncoder
Abstract HTTP content encoder. |
| public interface | |
| public interface | FileContentDecoder
A content decoder capable of transferring data directly to a |
| public interface | FileContentEncoder
A content encoder capable of transferring data directly from a |
| public interface | |
| public interface | NHttpMessageParser<T extends MessageHeaders>
Message parser intended to build HTTP message head from a session input buffer.. |
| public interface | |
| public interface | NHttpMessageWriter<T extends MessageHeaders>
Message writer intended to serialize HTTP message head to a session buffer. |
| public interface | |
| public interface | RequestChannel
Abstract request channel. |
| public interface | ResourceHolder
Abstract resource holder. |
| public interface | ResponseChannel
Abstract response / response promise channel. |
| public interface | SessionInputBuffer
Session input buffer for HTTP/1.1 non-blocking connections. |
| public interface | SessionOutputBuffer
Session output buffer for non-blocking HTTP/1.1 connections. |
| public interface |
| Modifier and Type | Class and Description |
|---|---|
| public abstract class | AsyncClientEndpoint
Client endpoint leased from a connection manager. |