Package org.eclipse.jetty.http
Class HostPortHttpField
java.lang.Object
org.eclipse.jetty.http.HttpField
org.eclipse.jetty.http.HostPortHttpField
Deprecated.
The Eclipse Jetty and Apache Felix Http Jetty packages are no longer supported.
An HttpField holding a preparsed Host and port number
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.eclipse.jetty.http.HttpField
HttpField.IntValueHttpField, HttpField.LongValueHttpField
-
Constructor Summary
ConstructorsConstructorDescriptionHostPortHttpField
(String authority) Deprecated.HostPortHttpField
(String host, int port) Deprecated.HostPortHttpField
(HostPort hostport) Deprecated. -
Method Summary
Methods inherited from class org.eclipse.jetty.http.HttpField
contains, equals, getHeader, getIntValue, getLongValue, getLowerCaseName, getName, getValue, getValues, hashCode, is, isSameName, toString
-
Constructor Details
-
HostPortHttpField
Deprecated. -
HostPortHttpField
Deprecated. -
HostPortHttpField
Deprecated.
-
-
Method Details
-
getHost
Deprecated.Get the host.- Returns:
- the host
-
getPort
public int getPort()Deprecated.Get the port.- Returns:
- the port
-
getPort
public int getPort(int defaultPort) Deprecated.Get the port.- Parameters:
defaultPort
- The default port to return if no port set- Returns:
- the port
-
getHostPort
Deprecated.
-