common/src/main/java/HTTPClient/URI.java
/**
     * Return the default port used by a given protocol.
     *
     * @param protocol the protocol
     * @return the port number, or 0 if unknown
     */
Return the default port used by a given protocol.
@param protocol the protocol
@return the port number, or 0 if unknown
Return the default port used by a given protocol . @param protocol the protocol @return the port number or 0 if unknown
public final static int defaultPort(String protocol)
    {
	Integer port = defaultPorts.get(protocol.trim().toLowerCase());
	return (port != null) ? port.intValue() : 0;
    }
public final static int defaultPort ( String protocol ) { Integer port = defaultPorts . get ( protocol . trim ( ) . toLowerCase ( ) ) ; return ( port != null ) ? port . intValue ( ) : 0 ; }
Return the default port used by a given protocol.
Return the default port used by a given protocol .