@Contract(threading=STATELESS) public interface SchemePortResolver
Modifier and Type | Method and Description |
---|---|
int |
resolve(HttpHost host)
Returns the actual port for the host based on the protocol scheme.
|
default int |
resolve(String scheme,
NamedEndpoint endpoint)
Returns the actual port for the host based on the protocol scheme.
|
int resolve(HttpHost host)
default int resolve(String scheme, NamedEndpoint endpoint)
Copyright © 1999–2021 The Apache Software Foundation. All rights reserved.