normalizes and encodes a hostname and port to be included in url . in particular , this method makes sure that ipv6 address literals have the proper formatting to be included in urls . concode_field_sep PlaceHolder placeHolder concode_field_sep String ipAddressAndPortToUrlString concode_elem_sep int getAvailablePort concode_elem_sep String socketAddressToUrlString concode_elem_sep String getHostnameFromFQDN concode_elem_sep URL getCorrectHostnamePort concode_elem_sep String ipAddressToUrlString
String function ( String arg0 , int arg1 ) { return ipAddressAndPortToUrlString ( InetAddress . getByName ( arg0 ) , arg1 ) ; }