## Uses of Interface
org.apache.hc.core5.http.HttpRequestMapper

- Packages that use HttpRequestMapper
  Package | Description
  --- | ---
  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.routing |
  org.apache.hc.core5.http.io.support | Support classes for 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.

- - ### Uses of HttpRequestMapper in org.apache.hc.core5.http.impl.bootstrap

    Methods in org.apache.hc.core5.http.impl.bootstrap with parameters of type HttpRequestMapper
    Modifier and Type | Method and Description
    --- | ---
    `ServerBootstrap` | ServerBootstrap.`setRequestRouter(HttpRequestMapper<HttpRequestHandler> requestRouter)` Assigns `HttpRequestMapper` instance.
    `AsyncServerBootstrap` | AsyncServerBootstrap.`setRequestRouter(HttpRequestMapper<Supplier<AsyncServerExchangeHandler>> requestRouter)` Assigns `HttpRequestMapper` instance.

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

    Constructors in org.apache.hc.core5.http.impl.io with parameters of type HttpRequestMapper
    Constructor and Description
    `HttpService(HttpProcessor processor, HttpRequestMapper<HttpRequestHandler> handlerMapper, ConnectionReuseStrategy connReuseStrategy, HttpResponseFactory<ClassicHttpResponse> responseFactory)` Create a new HTTP service.
    `HttpService(HttpProcessor processor, HttpRequestMapper<HttpRequestHandler> handlerMapper, ConnectionReuseStrategy connReuseStrategy, HttpResponseFactory<ClassicHttpResponse> responseFactory, Http1StreamListener streamListener)` Create a new HTTP service.

  - ### Uses of HttpRequestMapper in org.apache.hc.core5.http.impl.routing

    Classes in org.apache.hc.core5.http.impl.routing that implement HttpRequestMapper
    Modifier and Type | Class and Description
    --- | ---
    `class` | `RequestRouter<T>` Request mapper that can route requests based on their properties to a specific request handler.

    Methods in org.apache.hc.core5.http.impl.routing with parameters of type HttpRequestMapper
    Modifier and Type | Method and Description
    --- | ---
    `static <T> RequestRouter<T>` | RequestRouter.`create(URIAuthority primaryAuthority, UriPatternType patternType, List<RequestRouter.Entry<T>> handlerEntries, BiFunction<String,URIAuthority,URIAuthority> authorityResolver, HttpRequestMapper<T> downstream)`
    `RequestRouter.Builder<T>` | RequestRouter.Builder.`downstream(HttpRequestMapper<T> downstream)` Assigns a downstream request mapper that can be used as a fallback in case no authoritative service can be found to handle an incoming request.

  - ### Uses of HttpRequestMapper in org.apache.hc.core5.http.io.support

    Constructors in org.apache.hc.core5.http.io.support with parameters of type HttpRequestMapper
    Constructor and Description
    `BasicHttpServerRequestHandler(HttpRequestMapper<HttpRequestHandler> handlerMapper)`
    `BasicHttpServerRequestHandler(HttpRequestMapper<HttpRequestHandler> handlerMapper, HttpResponseFactory<ClassicHttpResponse> responseFactory)`
    `TerminalServerFilter(HttpRequestMapper<HttpRequestHandler> handlerMapper, HttpResponseFactory<ClassicHttpResponse> responseFactory)`

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

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

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

    Classes in org.apache.hc.core5.http.protocol that implement HttpRequestMapper
    Modifier and Type | Class and Description
    --- | ---
    `class` | `RequestHandlerRegistry<T>` Deprecated. Use `RequestRouter`.

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

    Methods in org.apache.hc.core5.http2.impl.nio.bootstrap with parameters of type HttpRequestMapper
    Modifier and Type | Method and Description
    --- | ---
    `H2ServerBootstrap` | H2ServerBootstrap.`setRequestRouter(HttpRequestMapper<Supplier<AsyncServerExchangeHandler>> requestRouter)` Assigns `HttpRequestMapper` instance.

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

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

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