public abstract class Authority
extends java.lang.Object
Constructor and Description |
---|
Authority() |
Modifier and Type | Method and Description |
---|---|
static Authority |
create(java.lang.String authority)
Returns a Authority created by parsing the given string representation.
|
abstract Host |
host()
Host in a URI
|
abstract int |
port()
A port number that may be `0` to signal the default port of for scheme.
|
abstract java.lang.String |
userinfo()
The percent decoded userinfo.
|
public abstract Host host()
public abstract int port()
Uri::port::
public abstract java.lang.String userinfo()
public static Authority create(java.lang.String authority)