protected String getFQDN ( URI requestURI ) throws UnknownHostException { String host = requestURI . getHost ( ) ; InetAddress address = InetAddress . getByName ( host ) ; return address . getCanonicalHostName ( ) ; }
Get the FQDN of the request uri s address reverse resolving if needed .