/** * Returns the <code>Host</code> header on the request. * * <p> * The domain name of the server (for virtual hosting), and the TCP port number on which the server is listening. * The port number may be omitted if the port is the standard port for the service requested. * * <h5 class='figure'>Example:</h5> * <p class='bcode w800'> * Host: en.wikipedia.org:8080 * Host: en.wikipedia.org * </p> * * @return The parsed <code>Host</code> header on the request, or <jk>null</jk> if not found. */ public Host getHost() { return Host.forString(getString("Host")); }
/** * Returns the <code>Host</code> header on the request. * * <p> * The domain name of the server (for virtual hosting), and the TCP port number on which the server is listening. * The port number may be omitted if the port is the standard port for the service requested. * * <h5 class='figure'>Example:</h5> * <p class='bcode w800'> * Host: en.wikipedia.org:8080 * Host: en.wikipedia.org * </p> * * @return The parsed <code>Host</code> header on the request, or <jk>null</jk> if not found. */ public Host getHost() { return Host.forString(getString("Host")); }
/** * Returns the <code>Host</code> header on the request. * * <p> * The domain name of the server (for virtual hosting), and the TCP port number on which the server is listening. * The port number may be omitted if the port is the standard port for the service requested. * * <h5 class='figure'>Example:</h5> * <p class='bcode w800'> * Host: en.wikipedia.org:8080 * Host: en.wikipedia.org * </p> * * @return The parsed <code>Host</code> header on the request, or <jk>null</jk> if not found. */ public Host getHost() { return Host.forString(getString("Host")); }