Package | Description |
---|---|
org.apache.hc.core5.http.impl.bootstrap |
HTTP/1.1 requester and server bootstrap.
|
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.command |
Commands for HTTP transports based on asynchronous, event driven I/O model.
|
org.apache.hc.core5.http.nio.support |
Support classes for the asynchronous I/O model.
|
org.apache.hc.core5.http2.impl.nio |
Default implementation of HTTP/2 transport based on
the asynchronous (non-blocking) I/O model.
|
org.apache.hc.core5.http2.impl.nio.bootstrap |
HTTP/2 capable requester and server bootstrap.
|
org.apache.hc.core5.http2.nio.support |
Support classes for HTTP/2 asynchronous transport.
|
org.apache.hc.core5.testing.nio |
Modifier and Type | Method and Description |
---|---|
void |
HttpAsyncRequester.execute(AsyncClientExchangeHandler exchangeHandler,
HandlerFactory<AsyncPushConsumer> pushHandlerFactory,
Timeout timeout,
HttpContext executeContext) |
<T> Future<T> |
HttpAsyncRequester.execute(AsyncRequestProducer requestProducer,
AsyncResponseConsumer<T> responseConsumer,
HandlerFactory<AsyncPushConsumer> pushHandlerFactory,
Timeout timeout,
HttpContext context,
FutureCallback<T> callback) |
Modifier and Type | Method and Description |
---|---|
abstract void |
AsyncClientEndpoint.execute(AsyncClientExchangeHandler exchangeHandler,
HandlerFactory<AsyncPushConsumer> pushHandlerFactory,
HttpContext context)
Initiates a message exchange using the given handler.
|
<T> Future<T> |
AsyncClientEndpoint.execute(AsyncRequestProducer requestProducer,
AsyncResponseConsumer<T> responseConsumer,
HandlerFactory<AsyncPushConsumer> pushHandlerFactory,
HttpContext context,
FutureCallback<T> callback)
Initiates message exchange using the given request producer and response consumer.
|
Modifier and Type | Method and Description |
---|---|
HandlerFactory<AsyncPushConsumer> |
RequestExecutionCommand.getPushHandlerFactory() |
Constructor and Description |
---|
RequestExecutionCommand(AsyncClientExchangeHandler exchangeHandler,
HandlerFactory<AsyncPushConsumer> pushHandlerFactory,
CancellableDependency cancellableDependency,
HttpContext context) |
RequestExecutionCommand(AsyncClientExchangeHandler exchangeHandler,
HandlerFactory<AsyncPushConsumer> pushHandlerFactory,
HttpContext context) |
Modifier and Type | Class and Description |
---|---|
class |
AbstractAsyncPushHandler<T>
Abstract push response handler.
|
Constructor and Description |
---|
ClientH2StreamMultiplexer(ProtocolIOSession ioSession,
FrameFactory frameFactory,
HttpProcessor httpProcessor,
HandlerFactory<AsyncPushConsumer> pushHandlerFactory,
H2Config h2Config,
CharCodingConfig charCodingConfig,
H2StreamListener streamListener) |
ClientH2StreamMultiplexer(ProtocolIOSession ioSession,
HttpProcessor httpProcessor,
HandlerFactory<AsyncPushConsumer> pushHandlerFactory,
H2Config h2Config,
CharCodingConfig charCodingConfig) |
ClientH2StreamMultiplexerFactory(HttpProcessor httpProcessor,
HandlerFactory<AsyncPushConsumer> pushHandlerFactory,
H2Config h2Config,
CharCodingConfig charCodingConfig,
H2StreamListener streamListener) |
ClientH2StreamMultiplexerFactory(HttpProcessor httpProcessor,
HandlerFactory<AsyncPushConsumer> pushHandlerFactory,
H2StreamListener streamListener) |
Modifier and Type | Method and Description |
---|---|
Cancellable |
H2MultiplexingRequester.execute(AsyncClientExchangeHandler exchangeHandler,
HandlerFactory<AsyncPushConsumer> pushHandlerFactory,
Timeout timeout,
HttpContext context) |
<T> Future<T> |
H2MultiplexingRequester.execute(AsyncRequestProducer requestProducer,
AsyncResponseConsumer<T> responseConsumer,
HandlerFactory<AsyncPushConsumer> pushHandlerFactory,
Timeout timeout,
HttpContext context,
FutureCallback<T> callback) |
H2MultiplexingRequesterBootstrap |
H2MultiplexingRequesterBootstrap.register(String uriPattern,
Supplier<AsyncPushConsumer> supplier)
Registers the given
AsyncPushConsumer Supplier as a default handler for URIs
matching the given pattern. |
H2RequesterBootstrap |
H2RequesterBootstrap.register(String uriPattern,
Supplier<AsyncPushConsumer> supplier)
Registers the given
AsyncPushConsumer Supplier as a default handler for URIs
matching the given pattern. |
H2MultiplexingRequesterBootstrap |
H2MultiplexingRequesterBootstrap.registerVirtual(String hostname,
String uriPattern,
Supplier<AsyncPushConsumer> supplier)
Registers the given
AsyncPushConsumer Supplier as a handler for URIs
matching the given host and the pattern. |
H2RequesterBootstrap |
H2RequesterBootstrap.registerVirtual(String hostname,
String uriPattern,
Supplier<AsyncPushConsumer> supplier)
Registers the given
AsyncPushConsumer Supplier as a handler for URIs
matching the given host and the pattern. |
Modifier and Type | Method and Description |
---|---|
AsyncPushConsumer |
DefaultAsyncPushConsumerFactory.create(HttpRequest request,
HttpContext context) |
Constructor and Description |
---|
DefaultAsyncPushConsumerFactory(HttpRequestMapper<Supplier<AsyncPushConsumer>> mapper) |
Modifier and Type | Method and Description |
---|---|
void |
ClientSessionEndpoint.execute(AsyncClientExchangeHandler exchangeHandler,
HandlerFactory<AsyncPushConsumer> pushHandlerFactory,
HttpContext context) |
<T> Future<T> |
ClientSessionEndpoint.execute(AsyncRequestProducer requestProducer,
AsyncResponseConsumer<T> responseConsumer,
HandlerFactory<AsyncPushConsumer> pushHandlerFactory,
HttpContext context,
FutureCallback<T> callback) |
void |
H2TestClient.register(String uriPattern,
Supplier<AsyncPushConsumer> supplier) |
Copyright © 2005–2021 The Apache Software Foundation. All rights reserved.