## Uses of Interface
org.apache.hc.core5.http.protocol.HttpProcessor

- Packages that use HttpProcessor
  Package | Description
  --- | ---
  org.apache.hc.core5.http.impl | Default implementations of core HTTP 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.nio | Default implementation of HTTP/1.1 transport based on the asynchronous (non-blocking) I/O model.
  org.apache.hc.core5.http.protocol | Core HTTP protocol interceptors.
  org.apache.hc.core5.http2.impl | Default implementations of core HTTP/2 APIs.
  org.apache.hc.core5.http2.impl.nio | Default implementation of HTTP/2 transport based on the asynchronous (non-blocking) I/O model.
  org.apache.hc.core5.http2.impl.nio.bootstrap | HTTP/2 capable requester and server bootstrap.
  org.apache.hc.core5.testing.classic |
  org.apache.hc.core5.testing.nio |

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

    Methods in org.apache.hc.core5.http.impl that return HttpProcessor
    Modifier and Type | Method and Description
    --- | ---
    `static HttpProcessor` | HttpProcessors.`client()` Creates `HttpProcessor` initialized with default protocol interceptors for client side HTTP/1.1 processing.
    `static HttpProcessor` | HttpProcessors.`client(String agentInfo)` Creates `HttpProcessor` initialized with default protocol interceptors for client side HTTP/1.1 processing.
    `static HttpProcessor` | HttpProcessors.`server()` Creates `HttpProcessor` initialized with default protocol interceptors for server side HTTP/1.1 processing.
    `static HttpProcessor` | HttpProcessors.`server(String serverInfo)` Creates `HttpProcessor` initialized with default protocol interceptors for server side HTTP/1.1 processing.

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

    Methods in org.apache.hc.core5.http.impl.bootstrap with parameters of type HttpProcessor
    Modifier and Type | Method and Description
    --- | ---
    `AsyncRequesterBootstrap` | AsyncRequesterBootstrap.`setHttpProcessor(HttpProcessor httpProcessor)` Assigns `HttpProcessor` instance.
    `ServerBootstrap` | ServerBootstrap.`setHttpProcessor(HttpProcessor httpProcessor)` Assigns `HttpProcessor` instance.
    `RequesterBootstrap` | RequesterBootstrap.`setHttpProcessor(HttpProcessor httpProcessor)` Assigns `HttpProcessor` instance.
    `AsyncServerBootstrap` | AsyncServerBootstrap.`setHttpProcessor(HttpProcessor httpProcessor)` Assigns `HttpProcessor` instance.

    Constructors in org.apache.hc.core5.http.impl.bootstrap with parameters of type HttpProcessor
    Constructor and Description
    `HttpRequester(HttpRequestExecutor requestExecutor, HttpProcessor httpProcessor, ManagedConnPool<HttpHost,HttpClientConnection> connPool, SocketConfig socketConfig, HttpConnectionFactory<? extends HttpClientConnection> connectFactory, SSLSocketFactory sslSocketFactory, Callback<SSLParameters> sslSetupHandler, SSLSessionVerifier sslSessionVerifier, Resolver<HttpHost,InetSocketAddress> addressResolver)` Use `RequesterBootstrap` to create instances of this class.

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

    Methods in org.apache.hc.core5.http.impl.io with parameters of type HttpProcessor
    Modifier and Type | Method and Description
    --- | ---
    `void` | HttpRequestExecutor.`postProcess(ClassicHttpResponse response, HttpProcessor processor, HttpContext context)` Post-processes the given response using the given protocol processor and completes the process of request execution.
    `void` | HttpRequestExecutor.`preProcess(ClassicHttpRequest request, HttpProcessor processor, HttpContext context)` Pre-process the given request using the given protocol processor and initiates the process of request execution.

    Constructors in org.apache.hc.core5.http.impl.io with parameters of type HttpProcessor
    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.
    `HttpService(HttpProcessor processor, HttpServerRequestHandler requestHandler)` Create a new HTTP service.
    `HttpService(HttpProcessor processor, HttpServerRequestHandler requestHandler, ConnectionReuseStrategy connReuseStrategy, Http1StreamListener streamListener)` Create a new HTTP service.

  - ### Uses of HttpProcessor in org.apache.hc.core5.http.impl.nio

    Constructors in org.apache.hc.core5.http.impl.nio with parameters of type HttpProcessor
    Constructor and Description
    `ClientHttp1StreamDuplexer(ProtocolIOSession ioSession, HttpProcessor httpProcessor, Http1Config http1Config, CharCodingConfig charCodingConfig, ConnectionReuseStrategy connectionReuseStrategy, NHttpMessageParser<HttpResponse> incomingMessageParser, NHttpMessageWriter<HttpRequest> outgoingMessageWriter, ContentLengthStrategy incomingContentStrategy, ContentLengthStrategy outgoingContentStrategy, Http1StreamListener streamListener)`
    `ClientHttp1StreamDuplexerFactory(HttpProcessor httpProcessor, Http1Config http1Config, CharCodingConfig charCodingConfig)`
    `ClientHttp1StreamDuplexerFactory(HttpProcessor httpProcessor, Http1Config http1Config, CharCodingConfig charCodingConfig, ConnectionReuseStrategy connectionReuseStrategy, NHttpMessageParserFactory<HttpResponse> responseParserFactory, NHttpMessageWriterFactory<HttpRequest> requestWriterFactory, ContentLengthStrategy incomingContentStrategy, ContentLengthStrategy outgoingContentStrategy, Http1StreamListener streamListener)`
    `ClientHttp1StreamDuplexerFactory(HttpProcessor httpProcessor, Http1Config http1Config, CharCodingConfig charCodingConfig, ConnectionReuseStrategy connectionReuseStrategy, NHttpMessageParserFactory<HttpResponse> responseParserFactory, NHttpMessageWriterFactory<HttpRequest> requestWriterFactory, Http1StreamListener streamListener)`
    `ClientHttp1StreamDuplexerFactory(HttpProcessor httpProcessor, Http1Config http1Config, CharCodingConfig charCodingConfig, Http1StreamListener streamListener)`
    `ServerHttp1StreamDuplexer(ProtocolIOSession ioSession, HttpProcessor httpProcessor, HandlerFactory<AsyncServerExchangeHandler> exchangeHandlerFactory, String scheme, Http1Config http1Config, CharCodingConfig charCodingConfig, ConnectionReuseStrategy connectionReuseStrategy, NHttpMessageParser<HttpRequest> incomingMessageParser, NHttpMessageWriter<HttpResponse> outgoingMessageWriter, ContentLengthStrategy incomingContentStrategy, ContentLengthStrategy outgoingContentStrategy, Http1StreamListener streamListener)`
    `ServerHttp1StreamDuplexerFactory(HttpProcessor httpProcessor, HandlerFactory<AsyncServerExchangeHandler> exchangeHandlerFactory, Http1Config http1Config, CharCodingConfig charCodingConfig, ConnectionReuseStrategy connectionReuseStrategy, NHttpMessageParserFactory<HttpRequest> requestParserFactory, NHttpMessageWriterFactory<HttpResponse> responseWriterFactory, ContentLengthStrategy incomingContentStrategy, ContentLengthStrategy outgoingContentStrategy, Http1StreamListener streamListener)`
    `ServerHttp1StreamDuplexerFactory(HttpProcessor httpProcessor, HandlerFactory<AsyncServerExchangeHandler> exchangeHandlerFactory, Http1Config http1Config, CharCodingConfig charCodingConfig, ConnectionReuseStrategy connectionReuseStrategy, NHttpMessageParserFactory<HttpRequest> requestParserFactory, NHttpMessageWriterFactory<HttpResponse> responseWriterFactory, Http1StreamListener streamListener)`
    `ServerHttp1StreamDuplexerFactory(HttpProcessor httpProcessor, HandlerFactory<AsyncServerExchangeHandler> exchangeHandlerFactory, Http1Config http1Config, CharCodingConfig charCodingConfig, Http1StreamListener streamListener)`

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

    Classes in org.apache.hc.core5.http.protocol that implement HttpProcessor
    Modifier and Type | Class and Description
    --- | ---
    `class` | `DefaultHttpProcessor` Default immutable implementation of `HttpProcessor`.

    Methods in org.apache.hc.core5.http.protocol that return HttpProcessor
    Modifier and Type | Method and Description
    --- | ---
    `HttpProcessor` | HttpProcessorBuilder.`build()`

  - ### Uses of HttpProcessor in org.apache.hc.core5.http2.impl

    Methods in org.apache.hc.core5.http2.impl that return HttpProcessor
    Modifier and Type | Method and Description
    --- | ---
    `static HttpProcessor` | H2Processors.`client()`
    `static HttpProcessor` | H2Processors.`client(String agentInfo)`
    `static HttpProcessor` | H2Processors.`server()`
    `static HttpProcessor` | H2Processors.`server(String serverInfo)`

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

    Constructors in org.apache.hc.core5.http2.impl.nio with parameters of type HttpProcessor
    Constructor and Description
    `ClientH2StreamMultiplexer(ProtocolIOSession ioSession, FrameFactory frameFactory, HttpProcessor httpProcessor, HandlerFactory<AsyncPushConsumer> pushHandlerFactory, H2Config h2Config, CharCodingConfig charCodingConfig, H2StreamListener streamListener)`
    `ClientH2StreamMultiplexer(ProtocolIOSession ioSession, HttpProcessor httpProcessor, H2Config h2Config, CharCodingConfig charCodingConfig)`
    `ClientH2StreamMultiplexer(ProtocolIOSession ioSession, HttpProcessor httpProcessor, HandlerFactory<AsyncPushConsumer> pushHandlerFactory, H2Config h2Config, CharCodingConfig charCodingConfig)`
    `ClientH2StreamMultiplexerFactory(HttpProcessor httpProcessor, H2StreamListener streamListener)`
    `ClientH2StreamMultiplexerFactory(HttpProcessor httpProcessor, HandlerFactory<AsyncPushConsumer> pushHandlerFactory, H2Config h2Config, CharCodingConfig charCodingConfig, H2StreamListener streamListener)`
    `ClientH2StreamMultiplexerFactory(HttpProcessor httpProcessor, HandlerFactory<AsyncPushConsumer> pushHandlerFactory, H2StreamListener streamListener)`
    `ServerH2StreamMultiplexer(ProtocolIOSession ioSession, FrameFactory frameFactory, HttpProcessor httpProcessor, HandlerFactory<AsyncServerExchangeHandler> exchangeHandlerFactory, CharCodingConfig charCodingConfig, H2Config h2Config, H2StreamListener streamListener)`
    `ServerH2StreamMultiplexer(ProtocolIOSession ioSession, HttpProcessor httpProcessor, HandlerFactory<AsyncServerExchangeHandler> exchangeHandlerFactory, CharCodingConfig charCodingConfig, H2Config h2Config)`
    `ServerH2StreamMultiplexerFactory(HttpProcessor httpProcessor, HandlerFactory<AsyncServerExchangeHandler> exchangeHandlerFactory, H2Config h2Config, CharCodingConfig charCodingConfig, H2StreamListener streamListener)`

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

    Methods in org.apache.hc.core5.http2.impl.nio.bootstrap with parameters of type HttpProcessor
    Modifier and Type | Method and Description
    --- | ---
    `H2MultiplexingRequesterBootstrap` | H2MultiplexingRequesterBootstrap.`setHttpProcessor(HttpProcessor httpProcessor)` Assigns `HttpProcessor` instance.
    `H2RequesterBootstrap` | H2RequesterBootstrap.`setHttpProcessor(HttpProcessor httpProcessor)` Assigns `HttpProcessor` instance.
    `H2ServerBootstrap` | H2ServerBootstrap.`setHttpProcessor(HttpProcessor httpProcessor)` Assigns `HttpProcessor` instance.

  - ### Uses of HttpProcessor in org.apache.hc.core5.testing.classic

    Methods in org.apache.hc.core5.testing.classic with parameters of type HttpProcessor
    Modifier and Type | Method and Description
    --- | ---
    `void` | ClassicTestServer.`start(Http1Config http1Config, HttpProcessor httpProcessor, Decorator<HttpServerRequestHandler> handlerDecorator)`
    `void` | ClassicTestClient.`start(HttpProcessor httpProcessor)`

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

    Methods in org.apache.hc.core5.testing.nio with parameters of type HttpProcessor
    Modifier and Type | Method and Description
    --- | ---
    `InetSocketAddress` | H2TestServer.`start(HttpProcessor httpProcessor, Decorator<AsyncServerExchangeHandler> exchangeHandlerDecorator, H2Config h2Config)`
    `InetSocketAddress` | Http1TestServer.`start(HttpProcessor httpProcessor, Decorator<AsyncServerExchangeHandler> exchangeHandlerDecorator, Http1Config http1Config)`
    `InetSocketAddress` | H2TestServer.`start(HttpProcessor httpProcessor, Decorator<AsyncServerExchangeHandler> exchangeHandlerDecorator, Http1Config http1Config)`
    `void` | H2TestClient.`start(HttpProcessor httpProcessor, H2Config h2Config)`
    `void` | Http1TestClient.`start(HttpProcessor httpProcessor, Http1Config http1Config)`
    `void` | H2TestClient.`start(HttpProcessor httpProcessor, Http1Config http1Config)`
    `InetSocketAddress` | Http1TestServer.`start(HttpProcessor httpProcessor, Http1Config http1Config)`

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