public class HostSpec extends Object
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_NON_PROXY_HOSTS |
protected String |
host |
protected @Nullable String |
localSocketAddress |
protected int |
port |
Constructor and Description |
---|
HostSpec(String host,
int port) |
HostSpec(String host,
int port,
@Nullable String localSocketAddress) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(@Nullable Object obj) |
String |
getHost() |
@Nullable String |
getLocalSocketAddress() |
int |
getPort() |
int |
hashCode() |
Boolean |
shouldResolve() |
String |
toString() |
public static final String DEFAULT_NON_PROXY_HOSTS
protected final @Nullable String localSocketAddress
protected final String host
protected final int port
public HostSpec(String host, int port)
Copyright © 1997-2020 PostgreSQL Global Development Group. All Rights Reserved.