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 StringDEFAULT_NON_PROXY_HOSTSprotected Stringhostprotected intport
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)StringgetHost()intgetPort()inthashCode()BooleanshouldResolve()StringtoString()
-
-
-
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)
-
-