@Contract(threading=IMMUTABLE) public class DefaultSchemePortResolver extends Object implements SchemePortResolver
SchemePortResolver
.Modifier and Type | Field and Description |
---|---|
static DefaultSchemePortResolver |
INSTANCE |
Constructor and Description |
---|
DefaultSchemePortResolver() |
Modifier and Type | Method and Description |
---|---|
int |
resolve(HttpHost host)
Returns the actual port for the host based on the protocol scheme.
|
public static final DefaultSchemePortResolver INSTANCE
public DefaultSchemePortResolver()
public int resolve(HttpHost host) throws UnsupportedSchemeException
SchemePortResolver
resolve
in interface SchemePortResolver
UnsupportedSchemeException
WebARTS Library Licensed Under the GNU - General Public License. Other Libraries licensed under their respective Open Source Licenses