public synchronized final String getHost ( ) { if ( host == null ) { InetSocketAddress adr = getEndpointAddress ( ) ; if ( adr != null && ! adr . isUnresolved ( ) ) { host = getEndpointAddress ( ) . getHostName ( ) ; } } return host ; }
Return the server host name .