## 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.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 and Description
    --- | ---
    `Supplier<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

    Methods in org.apache.hc.core5.http.impl.bootstrap with parameters of type Supplier
    Modifier and Type | Method and Description
    --- | ---
    `AsyncServerBootstrap` | AsyncServerBootstrap.`register(String uriPattern, Supplier<AsyncServerExchangeHandler> supplier)` Registers the given `AsyncServerExchangeHandler` `Supplier` as a default handler for URIs matching the given pattern.
    `AsyncServerBootstrap` | AsyncServerBootstrap.`registerVirtual(String hostname, String uriPattern, Supplier<AsyncServerExchangeHandler> supplier)` Registers the given `AsyncServerExchangeHandler` `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 and Description
    --- | ---
    `AsyncServerBootstrap` | AsyncServerBootstrap.`setLookupRegistry(LookupRegistry<Supplier<AsyncServerExchangeHandler>> lookupRegistry)` Assigns `LookupRegistry` instance.

  - ### Uses of Supplier in org.apache.hc.core5.http.impl.io

    Constructors in org.apache.hc.core5.http.impl.io with parameters of type Supplier
    Constructor and Description
    `ChunkedOutputStream(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 Supplier
    Modifier and Type | Method and Description
    --- | ---
    `Supplier<List<? extends Header>>` | HttpEntityWrapper.`getTrailers()`
    `Supplier<List<? extends Header>>` | AbstractHttpEntity.`getTrailers()`
    `Supplier<List<? extends Header>>` | NullEntity.`getTrailers()`

  - ### Uses of Supplier in org.apache.hc.core5.http.nio.support

    Constructors in org.apache.hc.core5.http.nio.support with parameters of type Supplier
    Constructor and 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 and Description
    `DefaultAsyncResponseExchangeHandlerFactory(HttpRequestMapper<Supplier<AsyncServerExchangeHandler>> mapper)`
    `DefaultAsyncResponseExchangeHandlerFactory(HttpRequestMapper<Supplier<AsyncServerExchangeHandler>> mapper, Decorator<AsyncServerExchangeHandler> decorator)`

  - ### Uses of Supplier in org.apache.hc.core5.http.protocol

    Constructors in org.apache.hc.core5.http.protocol with parameters of type Supplier
    Constructor and Description
    `RequestHandlerRegistry(String canonicalHostName, Supplier<LookupRegistry<T>> registrySupplier)`

  - ### Uses of Supplier in org.apache.hc.core5.http2.impl.nio.bootstrap

    Methods in org.apache.hc.core5.http2.impl.nio.bootstrap with parameters of type Supplier
    Modifier and Type | Method and Description
    --- | ---
    `H2MultiplexingRequesterBootstrap` | H2MultiplexingRequesterBootstrap.`register(String uriPattern, Supplier<AsyncPushConsumer> supplier)` Registers the given `AsyncPushConsumer` `Supplier` as a default handler for URIs matching the given pattern.
    `H2RequesterBootstrap` | H2RequesterBootstrap.`register(String uriPattern, Supplier<AsyncPushConsumer> supplier)` Registers the given `AsyncPushConsumer` `Supplier` as a default handler for URIs matching the given pattern.
    `H2ServerBootstrap` | H2ServerBootstrap.`register(String uriPattern, Supplier<AsyncServerExchangeHandler> supplier)` Registers the given `AsyncServerExchangeHandler` `Supplier` as a default handler for URIs matching the given pattern.
    `H2MultiplexingRequesterBootstrap` | H2MultiplexingRequesterBootstrap.`registerVirtual(String hostname, String uriPattern, Supplier<AsyncPushConsumer> supplier)` Registers the given `AsyncPushConsumer` `Supplier` as a handler for URIs matching the given host and the pattern.
    `H2RequesterBootstrap` | H2RequesterBootstrap.`registerVirtual(String hostname, String uriPattern, Supplier<AsyncPushConsumer> supplier)` Registers the given `AsyncPushConsumer` `Supplier` as a handler for URIs matching the given host and the pattern.
    `H2ServerBootstrap` | H2ServerBootstrap.`registerVirtual(String hostname, String uriPattern, Supplier<AsyncServerExchangeHandler> supplier)` Registers the given `AsyncServerExchangeHandler` `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 and Description
    --- | ---
    `H2ServerBootstrap` | H2ServerBootstrap.`setLookupRegistry(LookupRegistry<Supplier<AsyncServerExchangeHandler>> lookupRegistry)` Assigns `LookupRegistry` instance.

  - ### Uses of Supplier in org.apache.hc.core5.http2.nio.support

    Constructor parameters in org.apache.hc.core5.http2.nio.support with type arguments of type Supplier
    Constructor and Description
    `DefaultAsyncPushConsumerFactory(HttpRequestMapper<Supplier<AsyncPushConsumer>> mapper)`

  - ### Uses of Supplier in org.apache.hc.core5.testing.nio

    Methods in org.apache.hc.core5.testing.nio with parameters of type Supplier
    Modifier and Type | Method and Description
    --- | ---
    `void` | H2TestClient.`register(String uriPattern, Supplier<AsyncPushConsumer> supplier)`
    `void` | Http1TestServer.`register(String uriPattern, Supplier<AsyncServerExchangeHandler> supplier)`
    `void` | H2TestServer.`register(String uriPattern, Supplier<AsyncServerExchangeHandler> supplier)`

Copyright © 2005–2022 The Apache Software Foundation. All rights reserved.