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. handlerListprivate LookupRegistry<Supplier<AsyncServerExchangeHandler>>AsyncServerBootstrap. lookupRegistryMethods in org.apache.hc.core5.http.impl.bootstrap with parameters of type Supplier Modifier and Type Method Description 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)Registers the givenAsyncServerExchangeHandlerSupplieras 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 AsyncServerBootstrapAsyncServerBootstrap. setLookupRegistry(LookupRegistry<Supplier<AsyncServerExchangeHandler>> lookupRegistry)AssignsLookupRegistryinstance. -
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 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.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.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. 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.protocol
Fields in org.apache.hc.core5.http.protocol declared as Supplier Modifier and Type Field Description private Supplier<LookupRegistry<T>>RequestHandlerRegistry. registrySupplierConstructors 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. handlerListprivate LookupRegistry<Supplier<AsyncServerExchangeHandler>>H2ServerBootstrap. lookupRegistryprivate java.util.List<HandlerEntry<Supplier<AsyncPushConsumer>>>H2MultiplexingRequesterBootstrap. pushConsumerListprivate java.util.List<HandlerEntry<Supplier<AsyncPushConsumer>>>H2RequesterBootstrap. pushConsumerListMethods in org.apache.hc.core5.http2.impl.nio.bootstrap with parameters of type Supplier Modifier and Type Method Description 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 uriPattern, Supplier<AsyncPushConsumer> supplier)Registers the givenAsyncPushConsumerSupplieras a default handler for URIs matching the given 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)Registers the givenAsyncPushConsumerSupplieras a handler for URIs matching the given host and the pattern.H2RequesterBootstrapH2RequesterBootstrap. registerVirtual(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.H2ServerBootstrapH2ServerBootstrap. registerVirtual(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.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)AssignsLookupRegistryinstance. -
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) -
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. registryprivate RequestHandlerRegistry<Supplier<AsyncServerExchangeHandler>>H2TestServer. registryprivate RequestHandlerRegistry<Supplier<AsyncServerExchangeHandler>>Http1TestServer. registryMethods in org.apache.hc.core5.testing.nio with parameters of type Supplier Modifier and Type Method Description voidH2TestClient. register(java.lang.String uriPattern, Supplier<AsyncPushConsumer> supplier)voidH2TestServer. register(java.lang.String uriPattern, Supplier<AsyncServerExchangeHandler> supplier)voidHttp1TestServer. register(java.lang.String uriPattern, Supplier<AsyncServerExchangeHandler> supplier)
-