Package | Description |
---|---|
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.
|
Modifier and Type | Method and Description |
---|---|
Supplier<List<? extends Header>> |
HttpEntity.getTrailers()
Gets supplier of message trailers - headers sent after message body.
|
Modifier and Type | Method and Description |
---|---|
AsyncServerBootstrap |
AsyncServerBootstrap.register(String hostname,
String uriPattern,
Supplier<AsyncServerExchangeHandler> supplier)
Registers the given
AsyncServerExchangeHandler Supplier as a handler for URIs
matching the given host and pattern. |
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)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
AsyncServerBootstrap |
AsyncServerBootstrap.setLookupRegistry(LookupRegistry<Supplier<AsyncServerExchangeHandler>> lookupRegistry)
Deprecated.
Use
RequestRouter . |
AsyncServerBootstrap |
AsyncServerBootstrap.setRequestRouter(HttpRequestMapper<Supplier<AsyncServerExchangeHandler>> requestRouter)
Sets
HttpRequestMapper instance. |
Constructor and Description |
---|
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.
|
Modifier and Type | Method and Description |
---|---|
Supplier<List<? extends Header>> |
AbstractHttpEntity.getTrailers()
Gets supplier of message trailers - headers sent after message body.
|
Supplier<List<? extends Header>> |
HttpEntityWrapper.getTrailers() |
Supplier<List<? extends Header>> |
NullEntity.getTrailers() |
Constructor and Description |
---|
AbstractAsyncRequesterConsumer(Supplier<AsyncEntityConsumer<E>> dataConsumerSupplier) |
AbstractAsyncResponseConsumer(Supplier<AsyncEntityConsumer<E>> dataConsumerSupplier) |
BasicRequestConsumer(Supplier<AsyncEntityConsumer<T>> dataConsumerSupplier) |
BasicResponseConsumer(Supplier<AsyncEntityConsumer<T>> dataConsumerSupplier) |
Constructor and Description |
---|
DefaultAsyncResponseExchangeHandlerFactory(HttpRequestMapper<Supplier<AsyncServerExchangeHandler>> mapper) |
DefaultAsyncResponseExchangeHandlerFactory(HttpRequestMapper<Supplier<AsyncServerExchangeHandler>> mapper,
Decorator<AsyncServerExchangeHandler> decorator) |
Constructor and Description |
---|
RequestHandlerRegistry(String canonicalHostName,
Supplier<LookupRegistry<T>> registrySupplier)
Deprecated.
|
Copyright © 2005–2021 The Apache Software Foundation. All rights reserved.