| Modifier and Type | Field and Description |
|---|---|
| private static final byte[] | |
| private final String | |
| private final int |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private static int | |
| public String | |
| private static boolean | |
| private static boolean | |
| pack-priv static boolean | |
| private static boolean | |
| private static boolean | |
| public static boolean | Returns: true when the string is a valid authoritythe string to parse s)Validate an authority HTTP header, that is host [':' port]
This method should behave like |
| public static HostAndPortImpl | Returns: the parsed value ornull when the string cannot be parsedthe string to parse s, int the scheme port used when the optional port is not specified schemePort)Hides io. Parse an authority HTTP header, that is host [':' port] |
| pack-priv static int | |
| private static int | |
| public static int | |
| public static int | |
| public static int | |
| private static int | |
| public static int | |
| public int | |
| public String |
| DIGITS | back to summary |
|---|---|
| private static final byte[] DIGITS | |
| host | back to summary |
|---|---|
| private final String host | |
| port | back to summary |
|---|---|
| private final int port | |
| HostAndPortImpl | back to summary |
|---|---|
| public HostAndPortImpl(String host, int port) | |
| foo | back to summary |
|---|---|
| private static int foo(int v) | |
| host | back to summary |
|---|---|
| public String host() Implements io.
| |
| isALPHA | back to summary |
|---|---|
| private static boolean isALPHA(char ch) | |
| isDIGIT | back to summary |
|---|---|
| private static boolean isDIGIT(char ch) | |
| isHEXDIG | back to summary |
|---|---|
| pack-priv static boolean isHEXDIG(char ch) | |
| isSubDelims | back to summary |
|---|---|
| private static boolean isSubDelims(char ch) | |
| isUnreserved | back to summary |
|---|---|
| private static boolean isUnreserved(char ch) | |
| isValidAuthority | back to summary |
|---|---|
| public static boolean isValidAuthority(String s) Validate an authority HTTP header, that is host [':' port]
| |
| parseAuthority | back to summary |
|---|---|
| public static HostAndPortImpl parseAuthority(String s, int schemePort) Hides io. Parse an authority HTTP header, that is host [':' port]
| |
| parseDecOctet | back to summary |
|---|---|
| pack-priv static int parseDecOctet(String s, int from, int to) | |
| parseDigit | back to summary |
|---|---|
| private static int parseDigit(String s, int from, int to) | |
| parseHost | back to summary |
|---|---|
| public static int parseHost(String val, int from, int to) | |
| parseIPLiteral | back to summary |
|---|---|
| public static int parseIPLiteral(String s, int from, int to) | |
| parseIPv4Address | back to summary |
|---|---|
| public static int parseIPv4Address(String s, int from, int to) | |
| parsePort | back to summary |
|---|---|
| private static int parsePort(String s, int pos) | |
| parseRegName | back to summary |
|---|---|
| public static int parseRegName(String s, int from, int to) | |
| port | back to summary |
|---|---|
| public int port() Implements io.
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non- | |