java.lang.Object
swim.uri.UriHost
- All Implemented Interfaces:
Comparable<UriHost>
,Debug
,Display
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract String
address()
final int
abstract <T> Output<T>
Writes a developer readable, debug-formatted string representation of this object tooutput
.abstract <T> Output<T>
Writes a human readable, display-formatted string representation of this object tooutput
.final boolean
final int
hashCode()
static UriHost
inetAddress
(InetAddress address) ipv4()
static UriHost
ipv6()
static UriHost
boolean
name()
static UriHost
static UriHost
abstract String
toString()
static UriHost
-
Constructor Details
-
UriHost
protected UriHost()
-
-
Method Details
-
isDefined
public boolean isDefined() -
address
-
name
-
ipv4
-
ipv6
-
inetAddress
- Throws:
UnknownHostException
-
compareTo
- Specified by:
compareTo
in interfaceComparable<UriHost>
-
equals
-
hashCode
public final int hashCode() -
debug
Description copied from interface:Debug
Writes a developer readable, debug-formatted string representation of this object tooutput
. -
display
Description copied from interface:Display
Writes a human readable, display-formatted string representation of this object tooutput
. -
toString
-
undefined
-
name
-
ipv4
-
ipv6
-
inetAddress
-
parse
-