public interface Host
Modifier and Type | Method and Description |
---|---|
static Host |
of(java.lang.String host)
Returns the
Host instance for the given host name. |
default java.lang.String |
value()
Returns a string that represents the host name.
|
static Host of(java.lang.String host)
Host
instance for the given host name.java.lang.IllegalArgumentException
- when host
is empty or blankdefault java.lang.String value()