## Uses of Interface
org.apache.hc.core5.http.nio.ssl.TlsStrategy

- Packages that use TlsStrategy
  Package | Description
  --- | ---
  org.apache.hc.core5.http.impl.bootstrap | HTTP/1.1 requester and server bootstrap.
  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.nio.ssl | TLS protocol support.
  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.http2.nio.pool | HTTP/2 specific pool component APIs.
  org.apache.hc.core5.http2.ssl | HTTP/2 specific TLS protocol support.

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

    Methods in org.apache.hc.core5.http.impl.bootstrap with parameters of type TlsStrategy
    Modifier and Type | Method and Description
    --- | ---
    `AsyncRequesterBootstrap` | AsyncRequesterBootstrap.`setTlsStrategy(TlsStrategy tlsStrategy)` Assigns `TlsStrategy` instance.
    `AsyncServerBootstrap` | AsyncServerBootstrap.`setTlsStrategy(TlsStrategy tlsStrategy)` Assigns `TlsStrategy` instance.

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

    Constructors in org.apache.hc.core5.http.impl.nio with parameters of type TlsStrategy
    Constructor and Description
    `ClientHttp1IOEventHandlerFactory(ClientHttp1StreamDuplexerFactory streamDuplexerFactory, TlsStrategy tlsStrategy, Timeout handshakeTimeout)`
    `ServerHttp1IOEventHandlerFactory(ServerHttp1StreamDuplexerFactory streamDuplexerFactory, TlsStrategy tlsStrategy, Timeout handshakeTimeout)`

  - ### Uses of TlsStrategy in org.apache.hc.core5.http.nio.ssl

    Classes in org.apache.hc.core5.http.nio.ssl that implement TlsStrategy
    Modifier and Type | Class and Description
    --- | ---
    `class` | `BasicClientTlsStrategy` Basic client-side implementation of `TlsStrategy` that upgrades to TLS for all endpoints with `HTTPS` scheme.
    `class` | `BasicServerTlsStrategy` Basic side-side implementation of `TlsStrategy` that upgrades to TLS for endpoints with the specified local ports.

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

    Constructors in org.apache.hc.core5.http2.impl.nio with parameters of type TlsStrategy
    Constructor and Description
    `ClientHttpProtocolNegotiationStarter(ClientHttp1StreamDuplexerFactory http1StreamHandlerFactory, ClientH2StreamMultiplexerFactory http2StreamHandlerFactory, HttpVersionPolicy versionPolicy, TlsStrategy tlsStrategy, Timeout handshakeTimeout)`
    `ClientHttpProtocolNegotiatorFactory(ClientHttp1StreamDuplexerFactory http1StreamHandlerFactory, ClientH2StreamMultiplexerFactory http2StreamHandlerFactory, HttpVersionPolicy versionPolicy, TlsStrategy tlsStrategy, Timeout handshakeTimeout)` Deprecated.
    `ServerHttpProtocolNegotiationStarter(ServerHttp1StreamDuplexerFactory http1StreamHandlerFactory, ServerH2StreamMultiplexerFactory http2StreamHandlerFactory, HttpVersionPolicy versionPolicy, TlsStrategy tlsStrategy, Timeout handshakeTimeout)`
    `ServerHttpProtocolNegotiatorFactory(ServerHttp1StreamDuplexerFactory http1StreamDuplexerFactory, ServerH2StreamMultiplexerFactory http2StreamMultiplexerFactory, HttpVersionPolicy versionPolicy, TlsStrategy tlsStrategy, Timeout handshakeTimeout)` Deprecated.

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

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

    Constructors in org.apache.hc.core5.http2.impl.nio.bootstrap with parameters of type TlsStrategy
    Constructor and Description
    `H2MultiplexingRequester(IOReactorConfig ioReactorConfig, IOEventHandlerFactory eventHandlerFactory, Decorator<IOSession> ioSessionDecorator, Callback<Exception> exceptionCallback, IOSessionListener sessionListener, Resolver<HttpHost,InetSocketAddress> addressResolver, TlsStrategy tlsStrategy)` Use `H2MultiplexingRequesterBootstrap` to create instances of this class.

  - ### Uses of TlsStrategy in org.apache.hc.core5.http2.nio.pool

    Constructors in org.apache.hc.core5.http2.nio.pool with parameters of type TlsStrategy
    Constructor and Description
    `H2ConnPool(ConnectionInitiator connectionInitiator, Resolver<HttpHost,InetSocketAddress> addressResolver, TlsStrategy tlsStrategy)`

  - ### Uses of TlsStrategy in org.apache.hc.core5.http2.ssl

    Classes in org.apache.hc.core5.http2.ssl that implement TlsStrategy
    Modifier and Type | Class and Description
    --- | ---
    `class` | `ConscryptClientTlsStrategy` Basic client-side implementation of `TlsStrategy` that upgrades to TLS for all endpoints with `HTTPS` scheme.
    `class` | `ConscryptServerTlsStrategy` Basic side-side implementation of `TlsStrategy` that upgrades to TLS for endpoints with the specified local ports.
    `class` | `H2ClientTlsStrategy` Basic client-side implementation of `TlsStrategy` that upgrades to TLS for all endpoints with `HTTPS` scheme.
    `class` | `H2ServerTlsStrategy` Basic side-side implementation of `TlsStrategy` that upgrades to TLS for endpoints with the specified local ports.

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