Package org.apache.hc.core5.http.nio.ssl
Class FixedPortStrategy
java.lang.Object
org.apache.hc.core5.http.nio.ssl.FixedPortStrategy
- All Implemented Interfaces:
SecurePortStrategy
Deprecated.
Use configuration parameters provided by connection listeners.
Basic implementation of
SecurePortStrategy with a fixed list of secure ports.- Since:
- 5.0
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanisSecure(SocketAddress localAddress) Deprecated.Determines if the given address should be secured or considered secure.
-
Field Details
-
securePorts
private final int[] securePortsDeprecated.
-
-
Constructor Details
-
FixedPortStrategy
public FixedPortStrategy(int... securePorts) Deprecated.
-
-
Method Details
-
isSecure
Deprecated.Description copied from interface:SecurePortStrategyDetermines if the given address should be secured or considered secure.- Specified by:
isSecurein interfaceSecurePortStrategy- Parameters:
localAddress- the given address.- Returns:
- secure flag.
-