Top Description Methods
org.apache.hc.core5.http.nio.ssl

public Interface SecurePortStrategy

Known Direct Implementers
org.apache.hc.core5.http.nio.ssl.FixedPortStrategy
Annotations
@Deprecated
Imports
java.net.SocketAddress

Deprecated

Use configuration parameters provided by connection listeners.

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

Method Summary

Modifier and TypeMethod and Description
public boolean

Returns:

secure flag.
isSecure
(SocketAddress
the given address.
localAddress
)

Determines if the given address should be secured or considered secure.

Method Detail

isSecureback to summary
public boolean isSecure(SocketAddress localAddress)

Determines if the given address should be secured or considered secure.

Parameters
localAddress:SocketAddress

the given address.

Returns:boolean

secure flag.