Top Description Methods
org.apache.hc.client5.http

public Interface SchemePortResolver

Known Direct Implementers
org.apache.hc.client5.http.impl.DefaultSchemePortResolver
Annotations
@Contract
threading:STATELESS
Imports
org.apache.hc.core5.annotation.Contract, .ThreadingBehavior, org.apache.hc.core5.http.HttpHost, org.apache.hc.core5.net.NamedEndpoint

Strategy for default port resolution for protocol schemes.
Since
4.3

Method Summary

Modifier and TypeMethod and Description
public int
resolve(HttpHost host)

Returns the actual port for the host based on the protocol scheme.

public default int
resolve(String scheme, NamedEndpoint endpoint)

Returns the actual port for the host based on the protocol scheme.

Method Detail

resolveback to summary
public int resolve(HttpHost host)

Returns the actual port for the host based on the protocol scheme.

resolveback to summary
public default int resolve(String scheme, NamedEndpoint endpoint)

Returns the actual port for the host based on the protocol scheme.

Since
5.2