Top Description Fields Constructors Methods
org.apache.http.impl.conn

public Class DefaultSchemePortResolver

extends Object
implements SchemePortResolver
Class Inheritance
All Implemented Interfaces
org.apache.http.conn.SchemePortResolver
Annotations
@Contract
threading:IMMUTABLE
Imports
org.apache.http.HttpHost, org.apache.http.annotation.Contract, .ThreadingBehavior, org.apache.http.conn.SchemePortResolver, .UnsupportedSchemeException, org.apache.http.util.Args

Default SchemePortResolver.
Since
4.3

Field Summary

Modifier and TypeField and Description
public static final DefaultSchemePortResolver

Constructor Summary

AccessConstructor and Description
public

Method Summary

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

Implements org.apache.http.conn.SchemePortResolver.resolve.

Returns the actual port for the host based on the protocol scheme.
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

INSTANCEback to summary
public static final DefaultSchemePortResolver INSTANCE

Constructor Detail

DefaultSchemePortResolverback to summary
public DefaultSchemePortResolver()

Method Detail

resolveback to summary
public int resolve(final HttpHost host) throws UnsupportedSchemeException

Implements org.apache.http.conn.SchemePortResolver.resolve.

Doc from org.apache.http.conn.SchemePortResolver.resolve.

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

Annotations
@Override