public class HostPort extends Object
Modifier and Type | Field and Description |
---|---|
InetAddress |
addr |
String |
host |
int |
port |
public final int port
public final InetAddress addr
public HostPort(String host, int port) throws UnknownHostException
UnknownHostException