HostAndPort function ( String arg0 ) { HostAndPort loc0 = fromString ( arg0 ) ; checkArgument ( ! loc0 . hasPort ( ) , "srini_string" , arg0 ) ; return loc0 ; }
build a hostandport instance from a host only . note : non-bracketed ipv6 literals are allowed . use #requirebracketsforipv6 to prohibit these . concode_field_sep long serialVersionUID 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 String getHostText concode_elem_sep HostAndPort fromParts concode_elem_sep HostAndPort requireBracketsForIPv6 concode_elem_sep String[] getHostAndPortFromBracketedHost concode_elem_sep int getPortOrDefault concode_elem_sep boolean hasPort concode_elem_sep int getPort concode_elem_sep int hashCode concode_elem_sep boolean equals concode_elem_sep String toString concode_elem_sep HostAndPort fromString concode_elem_sep boolean isValidPort