Package org.eclipse.jetty.http
Class HostPortHttpField
- java.lang.Object
-
- org.eclipse.jetty.http.HttpField
-
- org.eclipse.jetty.http.HostPortHttpField
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.eclipse.jetty.http.HttpField
HttpField.IntValueHttpField, HttpField.LongValueHttpField
-
-
Constructor Summary
Constructors Constructor Description HostPortHttpField(java.lang.String authority)Deprecated.HostPortHttpField(java.lang.String host, int port)Deprecated.HostPortHttpField(HostPort hostport)Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description java.lang.StringgetHost()Deprecated.Get the host.HostPortgetHostPort()Deprecated.intgetPort()Deprecated.Get the port.intgetPort(int defaultPort)Deprecated.Get the port.-
Methods inherited from class org.eclipse.jetty.http.HttpField
contains, equals, getHeader, getIntValue, getLongValue, getLowerCaseName, getName, getValue, getValues, hashCode, is, isSameName, toString
-
-
-
-
Constructor Detail
-
HostPortHttpField
public HostPortHttpField(java.lang.String authority)
Deprecated.
-
HostPortHttpField
public HostPortHttpField(java.lang.String host, int port)Deprecated.
-
HostPortHttpField
public HostPortHttpField(HostPort hostport)
Deprecated.
-
-
Method Detail
-
getHost
public java.lang.String 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
public HostPort getHostPort()
Deprecated.
-
-