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

- Packages that use ConnectionReuseStrategy
  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.

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

    Classes in org.apache.hc.core5.http.impl that implement ConnectionReuseStrategy
    Modifier and Type | Class and Description
    --- | ---
    `class` | `DefaultConnectionReuseStrategy` Default implementation of a strategy deciding about connection re-use.

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

    Methods in org.apache.hc.core5.http.impl.bootstrap with parameters of type ConnectionReuseStrategy
    Modifier and Type | Method and Description
    --- | ---
    `AsyncRequesterBootstrap` | AsyncRequesterBootstrap.`setConnectionReuseStrategy(ConnectionReuseStrategy connStrategy)` Sets `ConnectionReuseStrategy` instance.
    `ServerBootstrap` | ServerBootstrap.`setConnectionReuseStrategy(ConnectionReuseStrategy connStrategy)` Sets `ConnectionReuseStrategy` instance.
    `RequesterBootstrap` | RequesterBootstrap.`setConnectionReuseStrategy(ConnectionReuseStrategy connStrategy)` Sets `ConnectionReuseStrategy` instance.
    `AsyncServerBootstrap` | AsyncServerBootstrap.`setConnectionReuseStrategy(ConnectionReuseStrategy connStrategy)` Sets `ConnectionReuseStrategy` instance.

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

    Methods in org.apache.hc.core5.http.impl.io with parameters of type ConnectionReuseStrategy
    Modifier and Type | Method and Description
    --- | ---
    `HttpService.Builder` | HttpService.Builder.`withConnectionReuseStrategy(ConnectionReuseStrategy connReuseStrategy)`
    `HttpRequestExecutor.Builder` | HttpRequestExecutor.Builder.`withConnectionReuseStrategy(ConnectionReuseStrategy connReuseStrategy)`

    Constructors in org.apache.hc.core5.http.impl.io with parameters of type ConnectionReuseStrategy
    Constructor and Description
    `HttpRequestExecutor(ConnectionReuseStrategy connReuseStrategy)`
    `HttpRequestExecutor(Http1Config http1Config, ConnectionReuseStrategy connReuseStrategy, Http1StreamListener streamListener)` Creates new instance of HttpRequestExecutor.
    `HttpRequestExecutor(Timeout waitForContinue, ConnectionReuseStrategy connReuseStrategy, Http1StreamListener streamListener)` Deprecated. Use `HttpRequestExecutor(Http1Config, ConnectionReuseStrategy, Http1StreamListener)`
    `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, ConnectionReuseStrategy connReuseStrategy, Http1StreamListener streamListener)` Create a new HTTP service.
    `HttpService(HttpProcessor processor, HttpServerRequestHandler requestHandler, Http1Config http1Config, ConnectionReuseStrategy connReuseStrategy, Http1StreamListener streamListener)` Create a new HTTP service.

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

    Constructors in org.apache.hc.core5.http.impl.nio with parameters of type ConnectionReuseStrategy
    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, 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)`
    `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)`

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