Package org.apache.http.impl.conn
Class DefaultSchemePortResolver
- java.lang.Object
 - 
- org.apache.http.impl.conn.DefaultSchemePortResolver
 
 
- 
- All Implemented Interfaces:
 SchemePortResolver
@Contract(threading=IMMUTABLE) public class DefaultSchemePortResolver extends java.lang.Object implements SchemePortResolver
DefaultSchemePortResolver.- Since:
 - 4.3
 
 
- 
- 
Field Summary
Fields Modifier and Type Field Description static DefaultSchemePortResolverINSTANCE 
- 
Constructor Summary
Constructors Constructor Description DefaultSchemePortResolver() 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intresolve(HttpHost host)Returns the actual port for the host based on the protocol scheme. 
 - 
 
- 
- 
Field Detail
- 
INSTANCE
public static final DefaultSchemePortResolver INSTANCE
 
 - 
 
- 
Method Detail
- 
resolve
public int resolve(HttpHost host) throws UnsupportedSchemeException
Description copied from interface:SchemePortResolverReturns the actual port for the host based on the protocol scheme.- Specified by:
 resolvein interfaceSchemePortResolver- Throws:
 UnsupportedSchemeException
 
 - 
 
 -