public class HostPortHttpField extends HttpField
HttpField.IntValueHttpField, HttpField.LongValueHttpField
Constructor and Description |
---|
HostPortHttpField(HttpHeader header,
String name,
String authority) |
HostPortHttpField(String authority) |
Modifier and Type | Method and Description |
---|---|
String |
getHost()
Get the host.
|
int |
getPort()
Get the port.
|
contains, equals, getHeader, getIntValue, getLongValue, getName, getValue, getValues, hashCode, isSameName, toString
public HostPortHttpField(String authority)
public HostPortHttpField(HttpHeader header, String name, String authority)
public String getHost()
public int getPort()
Copyright © 1995-2015 Webtide. All Rights Reserved.