org.apache.hc.core5.http.nio.ssl

## Interface SecurePortStrategy

- All Known Implementing Classes:
    FixedPortStrategy

  Deprecated.
  Use configuration parameters provided by connection listeners.

      @Deprecated
      public interface SecurePortStrategy

  Side-side strategy to determine if local endpoint should be secured with TLS.
  Since:
    5.0

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | `isSecure(SocketAddress localAddress)` Deprecated. Determines if the given address should be secured or considered secure.

- - ### Method Detail

    - #### isSecure

          boolean isSecure(SocketAddress localAddress)

      Deprecated.
      Determines if the given address should be secured or considered secure.
      Parameters:
        `localAddress` - the given address.
      Returns:
        secure flag.

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