public class HostSpec
extends Object
Simple container for host and port.
-
Field Summary
Fields
protected final @Nullable String
protected final int
-
Constructor Summary
Constructors
-
Method Summary
-
Field Details
-
DEFAULT_NON_PROXY_HOSTS
public static final String DEFAULT_NON_PROXY_HOSTS
- See Also:
-
-
localSocketAddress
protected final @Nullable String localSocketAddress
-
-
port
protected final int port
-
Constructor Details
-
HostSpec
public HostSpec(String host,
int port)
-
HostSpec
public HostSpec(String host,
int port,
@Nullable String localSocketAddress)
-
Method Details
-
-
getPort
public int getPort()
-
-
-
-
getLocalSocketAddress
public @Nullable String getLocalSocketAddress()
-