Uses of Interface
org.apache.hc.core5.function.Supplier
Packages that use Supplier
Package
Description
Core HTTP transport component APIs.
HTTP/1.1 requester and server bootstrap.
Default implementation of HTTP/1.1 transport based on the classic
(blocking) I/O model.
HTTP message entity APIs based on the classic (blocking) I/O model.
Support classes for the asynchronous I/O model.
Core HTTP protocol interceptors.
HTTP/2 capable requester and server bootstrap.
Support classes for HTTP/2 asynchronous transport.
Client side connection pool component APIs.
-
Uses of Supplier in org.apache.hc.core5.http
Methods in org.apache.hc.core5.http that return SupplierModifier and TypeMethodDescriptionHttpEntity.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 SupplierModifier and TypeFieldDescriptionprivate final 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 SupplierModifier and TypeMethodDescriptionfinal AsyncServerBootstrap
AsyncServerBootstrap.register
(String uriPattern, Supplier<AsyncServerExchangeHandler> supplier) Registers the givenAsyncServerExchangeHandler
Supplier
as a default handler for URIs matching the given pattern.final AsyncServerBootstrap
AsyncServerBootstrap.registerVirtual
(String hostname, 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 SupplierModifier and TypeMethodDescriptionfinal 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 SupplierMethods in org.apache.hc.core5.http.impl.io that return SupplierMethods in org.apache.hc.core5.http.impl.io with parameters of type SupplierModifier and TypeMethodDescriptionprotected OutputStream
BHttpConnectionBase.createContentOutputStream
(long len, SessionOutputBuffer buffer, OutputStream outputStream, Supplier<List<? extends Header>> trailers) Constructors in org.apache.hc.core5.http.impl.io with parameters of type SupplierModifierConstructorDescriptionChunkedOutputStream
(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. -
Uses of Supplier in org.apache.hc.core5.http.io.entity
Methods in org.apache.hc.core5.http.io.entity that return SupplierModifier and TypeMethodDescriptionAbstractHttpEntity.getTrailers()
HttpEntityWrapper.getTrailers()
NullEntity.getTrailers()
-
Uses of Supplier in org.apache.hc.core5.http.nio.support
Fields in org.apache.hc.core5.http.nio.support declared as SupplierModifier and TypeFieldDescriptionprivate final Supplier
<AsyncEntityConsumer<E>> AbstractAsyncRequesterConsumer.dataConsumerSupplier
private final Supplier
<AsyncEntityConsumer<E>> AbstractAsyncResponseConsumer.dataConsumerSupplier
private final Supplier
<AsyncEntityConsumer<T>> BasicRequestConsumer.dataConsumerSupplier
private final Supplier
<AsyncEntityConsumer<T>> BasicResponseConsumer.dataConsumerSupplier
Fields in org.apache.hc.core5.http.nio.support with type parameters of type SupplierModifier and TypeFieldDescriptionprivate final HttpRequestMapper
<Supplier<AsyncServerExchangeHandler>> DefaultAsyncResponseExchangeHandlerFactory.mapper
Constructors in org.apache.hc.core5.http.nio.support with parameters of type SupplierModifierConstructorDescriptionAbstractAsyncRequesterConsumer
(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 SupplierModifierConstructorDescriptionDefaultAsyncResponseExchangeHandlerFactory
(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 SupplierModifier and TypeFieldDescriptionprivate final Supplier
<LookupRegistry<T>> RequestHandlerRegistry.registrySupplier
Constructors in org.apache.hc.core5.http.protocol with parameters of type SupplierModifierConstructorDescriptionRequestHandlerRegistry
(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 SupplierModifier and TypeFieldDescriptionprivate final List
<HandlerEntry<Supplier<AsyncServerExchangeHandler>>> H2ServerBootstrap.handlerList
private LookupRegistry
<Supplier<AsyncServerExchangeHandler>> H2ServerBootstrap.lookupRegistry
private final List
<HandlerEntry<Supplier<AsyncPushConsumer>>> H2MultiplexingRequesterBootstrap.pushConsumerList
private final List
<HandlerEntry<Supplier<AsyncPushConsumer>>> H2RequesterBootstrap.pushConsumerList
Methods in org.apache.hc.core5.http2.impl.nio.bootstrap with parameters of type SupplierModifier and TypeMethodDescriptionH2MultiplexingRequesterBootstrap.register
(String uriPattern, Supplier<AsyncPushConsumer> supplier) Registers the givenAsyncPushConsumer
Supplier
as a default handler for URIs matching the given pattern.final H2RequesterBootstrap
H2RequesterBootstrap.register
(String uriPattern, Supplier<AsyncPushConsumer> supplier) Registers the givenAsyncPushConsumer
Supplier
as a default handler for URIs matching the given pattern.final H2ServerBootstrap
H2ServerBootstrap.register
(String uriPattern, Supplier<AsyncServerExchangeHandler> supplier) Registers the givenAsyncServerExchangeHandler
Supplier
as a default handler for URIs matching the given pattern.H2MultiplexingRequesterBootstrap.registerVirtual
(String hostname, String uriPattern, Supplier<AsyncPushConsumer> supplier) Registers the givenAsyncPushConsumer
Supplier
as a handler for URIs matching the given host and the pattern.final H2RequesterBootstrap
H2RequesterBootstrap.registerVirtual
(String hostname, String uriPattern, Supplier<AsyncPushConsumer> supplier) Registers the givenAsyncPushConsumer
Supplier
as a handler for URIs matching the given host and the pattern.final H2ServerBootstrap
H2ServerBootstrap.registerVirtual
(String hostname, 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 SupplierModifier and TypeMethodDescriptionfinal 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 SupplierModifier and TypeFieldDescriptionprivate final HttpRequestMapper
<Supplier<AsyncPushConsumer>> DefaultAsyncPushConsumerFactory.mapper
Constructor parameters in org.apache.hc.core5.http2.nio.support with type arguments of type SupplierModifierConstructorDescription -
Uses of Supplier in org.apache.hc.core5.pool
Fields in org.apache.hc.core5.pool declared as SupplierConstructors in org.apache.hc.core5.pool with parameters of type Supplier -
Uses of Supplier in org.apache.hc.core5.testing.nio
Fields in org.apache.hc.core5.testing.nio with type parameters of type SupplierModifier and TypeFieldDescriptionprivate final RequestHandlerRegistry
<Supplier<AsyncPushConsumer>> H2TestClient.registry
private final RequestHandlerRegistry
<Supplier<AsyncServerExchangeHandler>> H2TestServer.registry
private final RequestHandlerRegistry
<Supplier<AsyncServerExchangeHandler>> Http1TestServer.registry
Methods in org.apache.hc.core5.testing.nio with parameters of type SupplierModifier and TypeMethodDescriptionvoid
H2TestClient.register
(String uriPattern, Supplier<AsyncPushConsumer> supplier) void
H2TestServer.register
(String uriPattern, Supplier<AsyncServerExchangeHandler> supplier) void
Http1TestServer.register
(String uriPattern, Supplier<AsyncServerExchangeHandler> supplier)