Package | Description |
---|---|
org.apache.hc.core5.http.nio |
Core HTTP transport APIs based on the asynchronous, event driven I/O model.
|
org.apache.hc.core5.http.nio.entity |
HTTP message entity APIs based on the asynchronous (non-blocking) I/O model.
|
org.apache.hc.core5.http.nio.support |
Support classes for the asynchronous I/O model.
|
org.apache.hc.core5.http.nio.support.classic |
Support classes for the asynchronous I/O model that emulate
behavior of the classic (blocking) I/O model.
|
org.apache.hc.core5.reactive |
Modifier and Type | Interface and Description |
---|---|
interface |
HandlerFactory<T extends ResourceHolder>
Abstract handler factory.
|
Modifier and Type | Interface and Description |
---|---|
interface |
AsyncClientExchangeHandler
Abstract asynchronous client side message exchange handler that acts as a request producer
and a response consumer.
|
interface |
AsyncDataConsumer
Abstract asynchronous data consumer.
|
interface |
AsyncDataExchangeHandler
Abstract asynchronous data exchange handler that acts as a data consumer
and a data producer.
|
interface |
AsyncDataProducer
Abstract asynchronous data producer.
|
interface |
AsyncEntityConsumer<T>
Abstract asynchronous message entity consumer.
|
interface |
AsyncEntityProducer
Abstract asynchronous message entity producer.
|
interface |
AsyncPushConsumer
Abstract asynchronous push response consumer.
|
interface |
AsyncPushProducer
Abstract asynchronous push response producer.
|
interface |
AsyncRequestConsumer<T>
Abstract asynchronous request consumer.
|
interface |
AsyncRequestProducer
Abstract asynchronous request producer.
|
interface |
AsyncResponseConsumer<T>
Abstract asynchronous response consumer.
|
interface |
AsyncResponseProducer
Abstract asynchronous response producer.
|
interface |
AsyncServerExchangeHandler
Abstract asynchronous server side message exchange handler that acts as a request consumer
and a response producer.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractBinAsyncEntityConsumer<T>
Abstract binary entity content consumer.
|
class |
AbstractBinAsyncEntityProducer
Abstract binary entity content producer.
|
class |
AbstractBinDataConsumer
Abstract binary data consumer.
|
class |
AbstractCharAsyncEntityConsumer<T>
Abstract text entity content consumer.
|
class |
AbstractCharAsyncEntityProducer
Abstract text entity content producer.
|
class |
AbstractCharDataConsumer
Abstract text data consumer.
|
class |
AsyncEntityProducerWrapper
Base class for wrapping entity producers that delegates all calls to the wrapped producer.
|
class |
BasicAsyncEntityConsumer
Basic
AsyncEntityConsumer implementation
that processes the data stream content into a byte array. |
class |
BasicAsyncEntityProducer
Basic
AsyncEntityProducer implementation that generates data stream
from content of a byte array. |
class |
DigestingEntityConsumer<T>
AsyncEntityConsumer decorator that calculates a digest hash from
the data stream content and keeps the list of trailers received with
the data stream. |
class |
DigestingEntityProducer
AsyncEntityProducer decorator that calculates a digest hash from
the data stream content and appends its value to the list of trailers. |
class |
DiscardingEntityConsumer<T>
No-op
AsyncEntityConsumer that discards all data from the data stream. |
class |
FileEntityProducer
AsyncEntityProducer implementation that generates data stream
from content of a File . |
class |
NoopEntityConsumer
Deprecated.
|
class |
PathEntityProducer
AsyncEntityProducer implementation that generates a data stream from the content at a Path . |
class |
StringAsyncEntityConsumer
Basic
AsyncEntityConsumer implementation
that processes the data stream content into a string. |
class |
StringAsyncEntityProducer
Basic
AsyncDataProducer implementation that
generates data stream from content of a string. |
Modifier and Type | Class and Description |
---|---|
class |
AbstractAsyncPushHandler<T>
Abstract push response handler.
|
class |
AbstractAsyncRequesterConsumer<T,E>
Abstract asynchronous request consumer that makes use of
AsyncEntityConsumer
to process request message content. |
class |
AbstractAsyncResponseConsumer<T,E>
Abstract asynchronous response consumer that makes use of
AsyncEntityConsumer
to process response message content. |
class |
AbstractServerExchangeHandler<T>
Abstract server side message exchange handler.
|
class |
BasicAsyncServerExpectationDecorator
AsyncServerExchangeHandler implementation that adds support
for the Expect-Continue handshake to an existing
AsyncServerExchangeHandler . |
class |
BasicClientExchangeHandler<T>
Basic
AsyncClientExchangeHandler implementation that makes use
of AsyncRequestProducer to generate request message
and AsyncResponseConsumer to process the response message returned by the server. |
class |
BasicPushProducer
Basic implementation of
AsyncPushProducer that produces one fixed response
and relies on a AsyncEntityProducer to generate response entity stream. |
class |
BasicRequestConsumer<T>
Basic implementation of
AsyncRequestConsumer that represents the request message as
a Message and relies on a AsyncEntityConsumer to process request entity stream. |
class |
BasicRequestProducer
Basic implementation of
AsyncRequestProducer that produces one fixed request
and relies on a AsyncEntityProducer to generate request entity stream. |
class |
BasicResponseConsumer<T>
Basic implementation of
AsyncResponseConsumer that represents response message as
a Message and relies on a AsyncEntityConsumer to process response entity
stream. |
class |
BasicResponseProducer
Basic implementation of
AsyncResponseProducer that produces one fixed response
and relies on a AsyncEntityProducer to generate response entity stream. |
class |
BasicServerExchangeHandler<T>
Basic
AbstractServerExchangeHandler implementation that delegates
request processing and response generation to a AsyncServerRequestHandler . |
class |
ImmediateResponseExchangeHandler
AsyncServerExchangeHandler implementation that immediately responds
with a predefined response generated by a AsyncResponseProducer and
ignores any entity content enclosed in the request message. |
Modifier and Type | Class and Description |
---|---|
class |
AbstractClassicEntityConsumer<T>
AsyncEntityConsumer implementation that acts as a compatibility
layer for classic InputStream based interfaces. |
class |
AbstractClassicEntityProducer
AsyncEntityProducer implementation that acts as a compatibility
layer for classic OutputStream based interfaces. |
class |
AbstractClassicServerExchangeHandler
AsyncServerExchangeHandler implementation that acts as a compatibility
layer for classic InputStream / OutputStream based interfaces. |
Modifier and Type | Class and Description |
---|---|
class |
ReactiveEntityProducer
An
AsyncEntityProducer that subscribes to a Publisher
instance, as defined by the Reactive Streams specification. |
class |
ReactiveResponseConsumer
An
AsyncResponseConsumer that publishes the response body through
a Publisher , as defined by the Reactive Streams specification. |
class |
ReactiveServerExchangeHandler
An implementation of
AsyncServerExchangeHandler designed to work with reactive streams. |
Copyright © 2005–2021 The Apache Software Foundation. All rights reserved.