Package org.postgresql.util
Class HostSpec
- java.lang.Object
-
- org.postgresql.util.HostSpec
-
public class HostSpec extends Object
Simple container for host and port.
-
-
Field Summary
Fields Modifier and Type Field Description static String
DEFAULT_NON_PROXY_HOSTS
protected String
host
protected int
port
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
String
getHost()
int
getPort()
int
hashCode()
Boolean
shouldResolve()
String
toString()
-
-
-
Field Detail
-
DEFAULT_NON_PROXY_HOSTS
public static final String DEFAULT_NON_PROXY_HOSTS
- See Also:
- Constant Field Values
-
host
protected final String host
-
port
protected final int port
-
-
Constructor Detail
-
HostSpec
public HostSpec(String host, int port)
-
-