SchemePortResolver@Contract(threading=IMMUTABLE) public class DefaultSchemePortResolver extends java.lang.Object implements SchemePortResolver
SchemePortResolver.| Modifier and Type | Field | Description |
|---|---|---|
static DefaultSchemePortResolver |
INSTANCE |
| Constructor | Description |
|---|---|
DefaultSchemePortResolver() |
| Modifier and Type | Method | 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
SchemePortResolverresolve in interface SchemePortResolverUnsupportedSchemeException