Uses of Interface
org.apache.hc.core5.function.Supplier
-
Packages that use Supplier 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.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.pool Client side connection pool component APIs.org.apache.hc.core5.testing.nio -
-
Uses of Supplier in org.apache.hc.core5.http
Methods in org.apache.hc.core5.http that return Supplier Modifier and Type Method Description Supplier<java.util.List<? extends Header>>
HttpEntity. getTrailers()
Returns supplier of message trailers - headers sent after message body. -
Uses of Supplier in org.apache.hc.core5.http.impl.bootstrap
Fields in org.apache.hc.core5.http.impl.bootstrap with type parameters of type Supplier Modifier and Type Field Description private java.util.List<HandlerEntry<Supplier<AsyncServerExchangeHandler>>>
AsyncServerBootstrap. handlerList
private LookupRegistry<Supplier<AsyncServerExchangeHandler>>
AsyncServerBootstrap. lookupRegistry
Methods in org.apache.hc.core5.http.impl.bootstrap with parameters of type Supplier Modifier and Type Method Description AsyncServerBootstrap
AsyncServerBootstrap. register(java.lang.String uriPattern, Supplier<AsyncServerExchangeHandler> supplier)
Registers the givenAsyncServerExchangeHandler
Supplier
as a default handler for URIs matching the given pattern.AsyncServerBootstrap
AsyncServerBootstrap. registerVirtual(java.lang.String hostname, java.lang.String uriPattern, Supplier<AsyncServerExchangeHandler> supplier)
Registers the givenAsyncServerExchangeHandler
Supplier
as a handler for URIs matching the given host and the pattern.Method parameters in org.apache.hc.core5.http.impl.bootstrap with type arguments of type Supplier Modifier and Type Method Description AsyncServerBootstrap
AsyncServerBootstrap. setLookupRegistry(LookupRegistry<Supplier<AsyncServerExchangeHandler>> lookupRegistry)
AssignsLookupRegistry
instance. -
Uses of Supplier in org.apache.hc.core5.http.impl.io
Fields in org.apache.hc.core5.http.impl.io declared as Supplier Modifier and Type Field Description private Supplier<java.util.List<? extends Header>>
ChunkedOutputStream. trailerSupplier
Methods in org.apache.hc.core5.http.impl.io that return Supplier Modifier and Type Method Description Supplier<java.util.List<? extends Header>>
IncomingHttpEntity. getTrailers()
Methods in org.apache.hc.core5.http.impl.io with parameters of type Supplier Modifier and Type Method Description protected java.io.OutputStream
BHttpConnectionBase. createContentOutputStream(long len, SessionOutputBuffer buffer, java.io.OutputStream outputStream, Supplier<java.util.List<? extends Header>> trailers)
Constructors in org.apache.hc.core5.http.impl.io with parameters of type Supplier Constructor Description ChunkedOutputStream(SessionOutputBuffer buffer, java.io.OutputStream outputStream, byte[] chunkCache, Supplier<java.util.List<? extends Header>> trailerSupplier)
Default constructor.ChunkedOutputStream(SessionOutputBuffer buffer, java.io.OutputStream outputStream, int chunkSizeHint, Supplier<java.util.List<? extends Header>> trailerSupplier)
Constructor taking an integer chunk size hint. -
Uses of Supplier in org.apache.hc.core5.http.io.entity
Methods in org.apache.hc.core5.http.io.entity that return Supplier Modifier and Type Method Description Supplier<java.util.List<? extends Header>>
AbstractHttpEntity. getTrailers()
Supplier<java.util.List<? extends Header>>
HttpEntityWrapper. getTrailers()
Supplier<java.util.List<? extends Header>>
NullEntity. getTrailers()
-
Uses of Supplier in org.apache.hc.core5.http.nio.support
Fields in org.apache.hc.core5.http.nio.support declared as Supplier Modifier and Type Field Description private Supplier<AsyncEntityConsumer<E>>
AbstractAsyncRequesterConsumer. dataConsumerSupplier
private Supplier<AsyncEntityConsumer<E>>
AbstractAsyncResponseConsumer. dataConsumerSupplier
private Supplier<AsyncEntityConsumer<T>>
BasicRequestConsumer. dataConsumerSupplier
private Supplier<AsyncEntityConsumer<T>>
BasicResponseConsumer. dataConsumerSupplier
Fields in org.apache.hc.core5.http.nio.support with type parameters of type Supplier Modifier and Type Field Description private HttpRequestMapper<Supplier<AsyncServerExchangeHandler>>
DefaultAsyncResponseExchangeHandlerFactory. mapper
Constructors in org.apache.hc.core5.http.nio.support with parameters of type Supplier Constructor Description AbstractAsyncRequesterConsumer(Supplier<AsyncEntityConsumer<E>> dataConsumerSupplier)
AbstractAsyncResponseConsumer(Supplier<AsyncEntityConsumer<E>> dataConsumerSupplier)
BasicRequestConsumer(Supplier<AsyncEntityConsumer<T>> dataConsumerSupplier)
BasicResponseConsumer(Supplier<AsyncEntityConsumer<T>> dataConsumerSupplier)
Constructor parameters in org.apache.hc.core5.http.nio.support with type arguments of type Supplier Constructor Description DefaultAsyncResponseExchangeHandlerFactory(HttpRequestMapper<Supplier<AsyncServerExchangeHandler>> mapper)
DefaultAsyncResponseExchangeHandlerFactory(HttpRequestMapper<Supplier<AsyncServerExchangeHandler>> mapper, Decorator<AsyncServerExchangeHandler> decorator)
-
Uses of Supplier in org.apache.hc.core5.http.protocol
Fields in org.apache.hc.core5.http.protocol declared as Supplier Modifier and Type Field Description private Supplier<LookupRegistry<T>>
RequestHandlerRegistry. registrySupplier
Constructors in org.apache.hc.core5.http.protocol with parameters of type Supplier Constructor Description RequestHandlerRegistry(java.lang.String canonicalHostName, Supplier<LookupRegistry<T>> registrySupplier)
-
Uses of Supplier in org.apache.hc.core5.http2.impl.nio.bootstrap
Fields in org.apache.hc.core5.http2.impl.nio.bootstrap with type parameters of type Supplier Modifier and Type Field Description private java.util.List<HandlerEntry<Supplier<AsyncServerExchangeHandler>>>
H2ServerBootstrap. handlerList
private LookupRegistry<Supplier<AsyncServerExchangeHandler>>
H2ServerBootstrap. lookupRegistry
private java.util.List<HandlerEntry<Supplier<AsyncPushConsumer>>>
H2MultiplexingRequesterBootstrap. pushConsumerList
private java.util.List<HandlerEntry<Supplier<AsyncPushConsumer>>>
H2RequesterBootstrap. pushConsumerList
Methods in org.apache.hc.core5.http2.impl.nio.bootstrap with parameters of type Supplier Modifier and Type Method Description H2MultiplexingRequesterBootstrap
H2MultiplexingRequesterBootstrap. register(java.lang.String uriPattern, Supplier<AsyncPushConsumer> supplier)
Registers the givenAsyncPushConsumer
Supplier
as a default handler for URIs matching the given pattern.H2RequesterBootstrap
H2RequesterBootstrap. register(java.lang.String uriPattern, Supplier<AsyncPushConsumer> supplier)
Registers the givenAsyncPushConsumer
Supplier
as a default handler for URIs matching the given pattern.H2ServerBootstrap
H2ServerBootstrap. register(java.lang.String uriPattern, Supplier<AsyncServerExchangeHandler> supplier)
Registers the givenAsyncServerExchangeHandler
Supplier
as a default handler for URIs matching the given pattern.H2MultiplexingRequesterBootstrap
H2MultiplexingRequesterBootstrap. registerVirtual(java.lang.String hostname, java.lang.String uriPattern, Supplier<AsyncPushConsumer> supplier)
Registers the givenAsyncPushConsumer
Supplier
as a handler for URIs matching the given host and the pattern.H2RequesterBootstrap
H2RequesterBootstrap. registerVirtual(java.lang.String hostname, java.lang.String uriPattern, Supplier<AsyncPushConsumer> supplier)
Registers the givenAsyncPushConsumer
Supplier
as a handler for URIs matching the given host and the pattern.H2ServerBootstrap
H2ServerBootstrap. registerVirtual(java.lang.String hostname, java.lang.String uriPattern, Supplier<AsyncServerExchangeHandler> supplier)
Registers the givenAsyncServerExchangeHandler
Supplier
as a handler for URIs matching the given host and the pattern.Method parameters in org.apache.hc.core5.http2.impl.nio.bootstrap with type arguments of type Supplier Modifier and Type Method Description H2ServerBootstrap
H2ServerBootstrap. setLookupRegistry(LookupRegistry<Supplier<AsyncServerExchangeHandler>> lookupRegistry)
AssignsLookupRegistry
instance. -
Uses of Supplier in org.apache.hc.core5.http2.nio.support
Fields in org.apache.hc.core5.http2.nio.support with type parameters of type Supplier Modifier and Type Field Description private HttpRequestMapper<Supplier<AsyncPushConsumer>>
DefaultAsyncPushConsumerFactory. mapper
Constructor parameters in org.apache.hc.core5.http2.nio.support with type arguments of type Supplier Constructor Description DefaultAsyncPushConsumerFactory(HttpRequestMapper<Supplier<AsyncPushConsumer>> mapper)
-
Uses of Supplier in org.apache.hc.core5.pool
Fields in org.apache.hc.core5.pool declared as Supplier Modifier and Type Field Description private Supplier<java.lang.Long>
PoolEntry. currentTimeSupplier
Constructors in org.apache.hc.core5.pool with parameters of type Supplier Constructor Description PoolEntry(T route, TimeValue timeToLive, Supplier<java.lang.Long> currentTimeSupplier)
PoolEntry(T route, TimeValue timeToLive, DisposalCallback<C> disposalCallback, Supplier<java.lang.Long> currentTimeSupplier)
-
Uses of Supplier in org.apache.hc.core5.testing.nio
Fields in org.apache.hc.core5.testing.nio with type parameters of type Supplier Modifier and Type Field Description private RequestHandlerRegistry<Supplier<AsyncPushConsumer>>
H2TestClient. registry
private RequestHandlerRegistry<Supplier<AsyncServerExchangeHandler>>
H2TestServer. registry
private RequestHandlerRegistry<Supplier<AsyncServerExchangeHandler>>
Http1TestServer. registry
Methods in org.apache.hc.core5.testing.nio with parameters of type Supplier Modifier and Type Method Description void
H2TestClient. register(java.lang.String uriPattern, Supplier<AsyncPushConsumer> supplier)
void
H2TestServer. register(java.lang.String uriPattern, Supplier<AsyncServerExchangeHandler> supplier)
void
Http1TestServer. register(java.lang.String uriPattern, Supplier<AsyncServerExchangeHandler> supplier)
-