public final class DomainSocketAddressUtils extends Object
Modifier and Type | Method and Description |
---|---|
static boolean |
isDomainSocketAddress(SocketAddress socketAddress)
Returns whether the
SocketAddress is DomainSocketAddress . |
static String |
path(SocketAddress socketAddress)
Returns the path to the domain socket.
|
public static boolean isDomainSocketAddress(SocketAddress socketAddress)
SocketAddress
is DomainSocketAddress
.socketAddress
- the SocketAddress
to testSocketAddress
is DomainSocketAddress
public static String path(SocketAddress socketAddress)
socketAddress
- the SocketAddress
to test