get the current port number , failing if no port is defined . concode_field_sep long serialVersionUID concode_elem_sep Pattern BRACKET_PATTERN concode_elem_sep int port concode_elem_sep boolean hasBracketlessColons concode_elem_sep int NO_PORT concode_elem_sep String host concode_field_sep HostAndPort withDefaultPort concode_elem_sep boolean hasPort concode_elem_sep String getHostText concode_elem_sep HostAndPort fromParts concode_elem_sep int hashCode concode_elem_sep boolean equals concode_elem_sep HostAndPort requireBracketsForIPv6 concode_elem_sep String toString concode_elem_sep HostAndPort fromString concode_elem_sep boolean isValidPort concode_elem_sep int getPortOrDefault
int function ( ) { checkState ( hasPort ( ) ) ; return port ; }