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.handlerListprivate LookupRegistry<Supplier<AsyncServerExchangeHandler>> AsyncServerBootstrap.lookupRegistryMethods in org.apache.hc.core5.http.impl.bootstrap with parameters of type SupplierModifier and TypeMethodDescriptionfinal AsyncServerBootstrapAsyncServerBootstrap.register(String uriPattern, Supplier<AsyncServerExchangeHandler> supplier) Registers the givenAsyncServerExchangeHandlerSupplieras a default handler for URIs matching the given pattern.final AsyncServerBootstrapAsyncServerBootstrap.registerVirtual(String hostname, 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 SupplierModifier and TypeMethodDescriptionfinal 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 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 OutputStreamBHttpConnectionBase.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.dataConsumerSupplierprivate final Supplier<AsyncEntityConsumer<E>> AbstractAsyncResponseConsumer.dataConsumerSupplierprivate final Supplier<AsyncEntityConsumer<T>> BasicRequestConsumer.dataConsumerSupplierprivate final Supplier<AsyncEntityConsumer<T>> BasicResponseConsumer.dataConsumerSupplierFields in org.apache.hc.core5.http.nio.support with type parameters of type SupplierModifier and TypeFieldDescriptionprivate final HttpRequestMapper<Supplier<AsyncServerExchangeHandler>> DefaultAsyncResponseExchangeHandlerFactory.mapperConstructors 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.registrySupplierConstructors 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.handlerListprivate LookupRegistry<Supplier<AsyncServerExchangeHandler>> H2ServerBootstrap.lookupRegistryprivate final List<HandlerEntry<Supplier<AsyncPushConsumer>>> H2MultiplexingRequesterBootstrap.pushConsumerListprivate final List<HandlerEntry<Supplier<AsyncPushConsumer>>> H2RequesterBootstrap.pushConsumerListMethods in org.apache.hc.core5.http2.impl.nio.bootstrap with parameters of type SupplierModifier and TypeMethodDescriptionH2MultiplexingRequesterBootstrap.register(String uriPattern, Supplier<AsyncPushConsumer> supplier) Registers the givenAsyncPushConsumerSupplieras a default handler for URIs matching the given pattern.final H2RequesterBootstrapH2RequesterBootstrap.register(String uriPattern, Supplier<AsyncPushConsumer> supplier) Registers the givenAsyncPushConsumerSupplieras a default handler for URIs matching the given pattern.final H2ServerBootstrapH2ServerBootstrap.register(String uriPattern, Supplier<AsyncServerExchangeHandler> supplier) Registers the givenAsyncServerExchangeHandlerSupplieras a default handler for URIs matching the given pattern.H2MultiplexingRequesterBootstrap.registerVirtual(String hostname, String uriPattern, Supplier<AsyncPushConsumer> supplier) Registers the givenAsyncPushConsumerSupplieras a handler for URIs matching the given host and the pattern.final H2RequesterBootstrapH2RequesterBootstrap.registerVirtual(String hostname, String uriPattern, Supplier<AsyncPushConsumer> supplier) Registers the givenAsyncPushConsumerSupplieras a handler for URIs matching the given host and the pattern.final H2ServerBootstrapH2ServerBootstrap.registerVirtual(String hostname, 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 SupplierModifier and TypeMethodDescriptionfinal 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 SupplierModifier and TypeFieldDescriptionprivate final HttpRequestMapper<Supplier<AsyncPushConsumer>> DefaultAsyncPushConsumerFactory.mapperConstructor 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.registryprivate final RequestHandlerRegistry<Supplier<AsyncServerExchangeHandler>> H2TestServer.registryprivate final RequestHandlerRegistry<Supplier<AsyncServerExchangeHandler>> Http1TestServer.registryMethods in org.apache.hc.core5.testing.nio with parameters of type SupplierModifier and TypeMethodDescriptionvoidH2TestClient.register(String uriPattern, Supplier<AsyncPushConsumer> supplier) voidH2TestServer.register(String uriPattern, Supplier<AsyncServerExchangeHandler> supplier) voidHttp1TestServer.register(String uriPattern, Supplier<AsyncServerExchangeHandler> supplier)