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.impl.io.support 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.nio.support.classic Support classes for the asynchronous I/O model that emulate behavior of the classic (blocking) 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. -
-
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()Gets 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 LookupRegistry<Supplier<AsyncServerExchangeHandler>>AsyncServerBootstrap. lookupRegistryprivate HttpRequestMapper<Supplier<AsyncServerExchangeHandler>>AsyncServerBootstrap. requestRouterprivate java.util.List<RequestRouter.Entry<Supplier<AsyncServerExchangeHandler>>>AsyncServerBootstrap. routeEntriesMethods in org.apache.hc.core5.http.impl.bootstrap with parameters of type Supplier Modifier and Type Method Description AsyncServerBootstrapAsyncServerBootstrap. register(java.lang.String hostname, java.lang.String uriPattern, Supplier<AsyncServerExchangeHandler> supplier)Registers the givenAsyncServerExchangeHandlerSupplieras a handler for URIs matching the given host and pattern.AsyncServerBootstrapAsyncServerBootstrap. register(java.lang.String uriPattern, Supplier<AsyncServerExchangeHandler> supplier)Registers the givenAsyncServerExchangeHandlerSupplieras a default handler for URIs matching the given pattern.AsyncServerBootstrapAsyncServerBootstrap. registerVirtual(java.lang.String hostname, java.lang.String uriPattern, Supplier<AsyncServerExchangeHandler> supplier)Deprecated.Method parameters in org.apache.hc.core5.http.impl.bootstrap with type arguments of type Supplier Modifier and Type Method Description AsyncServerBootstrapAsyncServerBootstrap. setLookupRegistry(LookupRegistry<Supplier<AsyncServerExchangeHandler>> lookupRegistry)Deprecated.UseRequestRouter.AsyncServerBootstrapAsyncServerBootstrap. setRequestRouter(HttpRequestMapper<Supplier<AsyncServerExchangeHandler>> requestRouter)SetsHttpRequestMapperinstance. -
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. trailerSupplierMethods in org.apache.hc.core5.http.impl.io with parameters of type Supplier Modifier and Type Method Description protected java.io.OutputStreamBHttpConnectionBase. 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.impl.io.support
Methods in org.apache.hc.core5.http.impl.io.support that return Supplier Modifier and Type Method Description Supplier<java.util.List<? extends Header>>IncomingHttpEntity. getTrailers() -
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()Gets supplier of message trailers - headers sent after message body.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. dataConsumerSupplierprivate Supplier<AsyncEntityConsumer<E>>AbstractAsyncResponseConsumer. dataConsumerSupplierprivate Supplier<AsyncEntityConsumer<T>>BasicRequestConsumer. dataConsumerSupplierprivate Supplier<AsyncEntityConsumer<T>>BasicResponseConsumer. dataConsumerSupplierFields in org.apache.hc.core5.http.nio.support with type parameters of type Supplier Modifier and Type Field Description private HttpRequestMapper<Supplier<AsyncServerExchangeHandler>>DefaultAsyncResponseExchangeHandlerFactory. mapperConstructors 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.nio.support.classic
Methods in org.apache.hc.core5.http.nio.support.classic that return Supplier Modifier and Type Method Description Supplier<java.util.List<? extends Header>>ClassicToAsyncResponseConsumer.IncomingHttpEntity. getTrailers() -
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. registrySupplierDeprecated.Constructors in org.apache.hc.core5.http.protocol with parameters of type Supplier Constructor Description RequestHandlerRegistry(java.lang.String canonicalHostName, Supplier<LookupRegistry<T>> registrySupplier)Deprecated. -
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 LookupRegistry<Supplier<AsyncServerExchangeHandler>>H2ServerBootstrap. lookupRegistryprivate HttpRequestMapper<Supplier<AsyncServerExchangeHandler>>H2ServerBootstrap. requestRouterprivate java.util.List<RequestRouter.Entry<Supplier<AsyncPushConsumer>>>H2MultiplexingRequesterBootstrap. routeEntriesprivate java.util.List<RequestRouter.Entry<Supplier<AsyncPushConsumer>>>H2RequesterBootstrap. routeEntriesprivate java.util.List<RequestRouter.Entry<Supplier<AsyncServerExchangeHandler>>>H2ServerBootstrap. routeEntriesMethods in org.apache.hc.core5.http2.impl.nio.bootstrap with parameters of type Supplier Modifier and Type Method Description H2MultiplexingRequesterBootstrapH2MultiplexingRequesterBootstrap. register(java.lang.String hostname, java.lang.String uriPattern, Supplier<AsyncPushConsumer> supplier)Registers the givenAsyncPushConsumerSupplieras a handler for URIs matching the given host and the pattern.H2MultiplexingRequesterBootstrapH2MultiplexingRequesterBootstrap. register(java.lang.String uriPattern, Supplier<AsyncPushConsumer> supplier)Registers the givenAsyncPushConsumerSupplieras a default handler for URIs matching the given pattern.H2RequesterBootstrapH2RequesterBootstrap. register(java.lang.String hostname, java.lang.String uriPattern, Supplier<AsyncPushConsumer> supplier)Registers the givenAsyncPushConsumerSupplieras a handler for URIs matching the given host and the pattern.H2RequesterBootstrapH2RequesterBootstrap. register(java.lang.String uriPattern, Supplier<AsyncPushConsumer> supplier)Registers the givenAsyncPushConsumerSupplieras a default handler for URIs matching the given pattern.H2ServerBootstrapH2ServerBootstrap. register(java.lang.String hostname, java.lang.String uriPattern, Supplier<AsyncServerExchangeHandler> supplier)Registers the givenAsyncServerExchangeHandlerSupplieras a handler for URIs matching the given host and the pattern.H2ServerBootstrapH2ServerBootstrap. register(java.lang.String uriPattern, Supplier<AsyncServerExchangeHandler> supplier)Registers the givenAsyncServerExchangeHandlerSupplieras a default handler for URIs matching the given pattern.H2MultiplexingRequesterBootstrapH2MultiplexingRequesterBootstrap. registerVirtual(java.lang.String hostname, java.lang.String uriPattern, Supplier<AsyncPushConsumer> supplier)Deprecated.H2RequesterBootstrapH2RequesterBootstrap. registerVirtual(java.lang.String hostname, java.lang.String uriPattern, Supplier<AsyncPushConsumer> supplier)Deprecated.H2ServerBootstrapH2ServerBootstrap. registerVirtual(java.lang.String hostname, java.lang.String uriPattern, Supplier<AsyncServerExchangeHandler> supplier)Deprecated.Method parameters in org.apache.hc.core5.http2.impl.nio.bootstrap with type arguments of type Supplier Modifier and Type Method Description H2ServerBootstrapH2ServerBootstrap. setLookupRegistry(LookupRegistry<Supplier<AsyncServerExchangeHandler>> lookupRegistry)Deprecated.UseRequestRouter.H2ServerBootstrapH2ServerBootstrap. setRequestRouter(HttpRequestMapper<Supplier<AsyncServerExchangeHandler>> requestRouter)SetsHttpRequestMapperinstance. -
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. mapperConstructor 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. currentTimeSupplierConstructors 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)
-