public class HostPortHttpField extends HttpField
HttpField.IntValueHttpField, HttpField.LongValueHttpField| Modifier | Constructor and Description |
|---|---|
protected |
HostPortHttpField(HttpHeader header,
java.lang.String name,
java.lang.String authority) |
|
HostPortHttpField(java.lang.String authority) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getHost()
Get the host.
|
int |
getPort()
Get the port.
|
int |
getPort(int defaultPort)
Get the port.
|
contains, equals, getHeader, getIntValue, getLongValue, getName, getValue, getValues, hashCode, isSameName, toStringpublic HostPortHttpField(java.lang.String authority)
protected HostPortHttpField(HttpHeader header, java.lang.String name, java.lang.String authority)
Copyright © 1995–2018 Webtide. All rights reserved.