org.apache.hc.core5.http.io.ssl

## Class DefaultTlsSetupHandler

- java.lang.Object
- - org.apache.hc.core5.http.io.ssl.DefaultTlsSetupHandler

- All Implemented Interfaces:
    Callback<SSLParameters>

      public final class DefaultTlsSetupHandler
      extends Object
      implements Callback<SSLParameters>

  Default TLS session setup handler.
  Since:
    5.0

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `static DefaultTlsSetupHandler` | `CLIENT`
    `static DefaultTlsSetupHandler` | `SERVER`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `DefaultTlsSetupHandler()`
    `DefaultTlsSetupHandler(boolean client)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `execute(SSLParameters sslParameters)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Field Detail

    - #### SERVER

          public static final DefaultTlsSetupHandler SERVER

    - #### CLIENT

          public static final DefaultTlsSetupHandler CLIENT

  - ### Constructor Detail

    - #### DefaultTlsSetupHandler

          public DefaultTlsSetupHandler()

    - #### DefaultTlsSetupHandler

          public DefaultTlsSetupHandler(boolean client)

      Since:
        5.3

  - ### Method Detail

    - #### execute

          public void execute(SSLParameters sslParameters)

      Specified by:
        `execute` in interface `Callback<SSLParameters>`

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