| Modifier and Type | Method and Description |
|---|---|
| public static HostAndPort | |
| public static HostAndPort | |
| public static HostAndPort | |
| public String | |
| public static HostAndPort | Returns: the parsed authority ornull when the string does not represent a valid authority.the string to parse string, int the scheme port used when the optional port is not specified schemePort)Parse an authority HTTP header, that is host [':' port], according to rfc3986. |
| public int |
| authority | back to summary |
|---|---|
| public static HostAndPort authority(String host, int port) Create an instance with a valid
| |
| authority | back to summary |
|---|---|
| public static HostAndPort authority(String host) Like | |
| create | back to summary |
|---|---|
| public static HostAndPort create(String host, int port) Create an arbitrary instance.
| |
| host | back to summary |
|---|---|
public String host()
| |
| parseAuthority | back to summary |
|---|---|
| public static HostAndPort parseAuthority(String string, int schemePort) Parse an authority HTTP header, that is host [':' port], according to rfc3986.
| |
| port | back to summary |
|---|---|
public int port()
| |