@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(org.apache.http.HttpHost host)
Returns the actual port for the host based on the protocol scheme.
|
public static final DefaultSchemePortResolver INSTANCE
public int resolve(org.apache.http.HttpHost host) throws UnsupportedSchemeException
SchemePortResolver
resolve
in interface SchemePortResolver
UnsupportedSchemeException
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.