public static String getServerHost() {
        String ret = getLatkeProperty("serverHost");
        if (null == ret) {
            final RequestContext requestContext = REQUEST_CONTEXT.get();
            if (null != requestContext) {
                ret = requestContext.getRequest().getServerName();
            } else {
                initPublicIP();

                return PUBLIC_IP;
            }
        }

        return ret;
    }
public static String getServerHost ( ) { String ret = getLatkeProperty ( "serverHost" ) ; if ( null == ret ) { final RequestContext requestContext = REQUEST_CONTEXT . get ( ) ; if ( null != requestContext ) { ret = requestContext . getRequest ( ) . getServerName ( ) ; } else { initPublicIP ( ) ; return PUBLIC_IP ; } } return ret ; }
Gets server host.

@return server host