String function ( InetSocketAddress arg0 ) { if ( arg0 . isUnresolved ( ) ) { throw new IllegalArgumentException ( "srini_string" + arg0 . getHostString ( ) ) ; } return ipAddressAndPortToUrlString ( arg0 . getAddress ( ) , arg0 . getPort ( ) ) ; }
encodes an ip address and port to be included in url . in particular , this method makes sure that ipv6 addresses have the proper formatting to be included in urls . concode_field_sep Logger LOG concode_field_sep String ipAddressAndPortToUrlString concode_elem_sep ServerSocket createSocket concode_elem_sep String hostAndPortToUrlString concode_elem_sep int getAvailablePort concode_elem_sep ServerSocket createSocketFromPorts concode_elem_sep String getHostnameFromFQDN concode_elem_sep Iterator<Integer> getPortRangeFromString concode_elem_sep URL getCorrectHostnamePort concode_elem_sep String ipAddressToUrlString