class ProxyHelper {

   static String getHost( String url )
   {
       log.debug( "getHost( url = '{}' )", url );
       String host = "";
       try
       {
           URL u = new URL( url );
           host = u.getHost(  );
       }
       catch ( MalformedURLException e )
       {
           String message = String.format( "Failed to parse URL '%s'", url );
           log.warn( message, e );
       }

       log.debug( "getHost(  ): host = '{}'", host );
       return host;
   }

   private  ProxyHelper(  );

}