public String getHostName ( ) { String hostName = mHostName ; try { // ZAP: fixed cases, where host name is null hostName = ( ( mUri . getHost ( ) != null ) ? mUri . getHost ( ) : mHostName ) ; } catch ( URIException e ) { if ( log . isDebugEnabled ( ) ) { log . warn ( e ) ; } } return hostName ; }
Get the host name in this request header .