| 程序包 | 说明 |
|---|---|
| org.apache.hc.client5.http.impl.async |
Asynchronous HTTP client API implementation that supports both
HTTP/2 and HTTP/1.1 transport.
|
| org.apache.hc.core5.http |
Core HTTP transport component APIs.
|
| org.apache.hc.core5.http.impl.bootstrap |
HTTP/1.1 requester and server bootstrap.
|
| org.apache.hc.core5.http.impl.io |
Default implementation of HTTP/1.1 transport based on the classic
(blocking) I/O model.
|
| org.apache.hc.core5.http.io.entity |
HTTP message entity APIs based on the classic (blocking) I/O model.
|
| org.apache.hc.core5.http.nio.support |
Support classes for the asynchronous I/O model.
|
| org.apache.hc.core5.http.protocol |
Core HTTP protocol interceptors.
|
| 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.
|
| 限定符和类型 | 方法和说明 |
|---|---|
abstract void |
CloseableHttpAsyncClient.register(String hostname,
String uriPattern,
Supplier<AsyncPushConsumer> supplier) |
void |
CloseableHttpAsyncClient.register(String uriPattern,
Supplier<AsyncPushConsumer> supplier) |
| 限定符和类型 | 方法和说明 |
|---|---|
Supplier<List<? extends Header>> |
HttpEntity.getTrailers()
Returns supplier of message trailers - headers sent after message body.
|
| 限定符和类型 | 方法和说明 |
|---|---|
AsyncServerBootstrap |
AsyncServerBootstrap.register(String uriPattern,
Supplier<AsyncServerExchangeHandler> supplier)
Registers the given
AsyncServerExchangeHandler Supplier as a default handler for URIs
matching the given pattern. |
AsyncServerBootstrap |
AsyncServerBootstrap.registerVirtual(String hostname,
String uriPattern,
Supplier<AsyncServerExchangeHandler> supplier)
Registers the given
AsyncServerExchangeHandler Supplier as a handler for URIs
matching the given host and the pattern. |
| 限定符和类型 | 方法和说明 |
|---|---|
AsyncServerBootstrap |
AsyncServerBootstrap.setLookupRegistry(LookupRegistry<Supplier<AsyncServerExchangeHandler>> lookupRegistry)
Assigns
LookupRegistry instance. |
| 构造器和说明 |
|---|
ChunkedOutputStream(SessionOutputBuffer buffer,
OutputStream outputStream,
byte[] chunkCache,
Supplier<List<? extends Header>> trailerSupplier)
Default constructor.
|
ChunkedOutputStream(SessionOutputBuffer buffer,
OutputStream outputStream,
int chunkSizeHint,
Supplier<List<? extends Header>> trailerSupplier)
Constructor taking an integer chunk size hint.
|
| 限定符和类型 | 方法和说明 |
|---|---|
Supplier<List<? extends Header>> |
AbstractHttpEntity.getTrailers() |
Supplier<List<? extends Header>> |
NullEntity.getTrailers() |
Supplier<List<? extends Header>> |
HttpEntityWrapper.getTrailers() |
| 构造器和说明 |
|---|
AbstractAsyncRequesterConsumer(Supplier<AsyncEntityConsumer<E>> dataConsumerSupplier) |
AbstractAsyncResponseConsumer(Supplier<AsyncEntityConsumer<E>> dataConsumerSupplier) |
BasicRequestConsumer(Supplier<AsyncEntityConsumer<T>> dataConsumerSupplier) |
BasicResponseConsumer(Supplier<AsyncEntityConsumer<T>> dataConsumerSupplier) |
| 构造器和说明 |
|---|
RequestHandlerRegistry(String canonicalHostName,
Supplier<LookupRegistry<T>> registrySupplier) |
| 限定符和类型 | 方法和说明 |
|---|---|
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. |
H2ServerBootstrap |
H2ServerBootstrap.register(String uriPattern,
Supplier<AsyncServerExchangeHandler> supplier)
Registers the given
AsyncServerExchangeHandler 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. |
H2ServerBootstrap |
H2ServerBootstrap.registerVirtual(String hostname,
String uriPattern,
Supplier<AsyncServerExchangeHandler> supplier)
Registers the given
AsyncServerExchangeHandler Supplier as a handler for URIs
matching the given host and the pattern. |
| 限定符和类型 | 方法和说明 |
|---|---|
H2ServerBootstrap |
H2ServerBootstrap.setLookupRegistry(LookupRegistry<Supplier<AsyncServerExchangeHandler>> lookupRegistry)
Assigns
LookupRegistry instance. |
| 构造器和说明 |
|---|
DefaultAsyncPushConsumerFactory(HttpRequestMapper<Supplier<AsyncPushConsumer>> mapper) |
Copyright © 2023. All rights reserved.