ProxiedSocketAddress for making a connection to an endpoint via an HTTP CONNECT proxy.
| Modifier and Type | Class and Description |
|---|---|
| public static class |
| Modifier and Type | Field and Description |
|---|---|
| private final String | |
| private final SocketAddress | |
| private static final long | |
| private final InetSocketAddress | |
| private final String |
| Access | Constructor and Description |
|---|---|
| private | HttpConnectProxiedSocketAddress(SocketAddress proxyAddress, InetSocketAddress targetAddress, String username, String password)
|
| Modifier and Type | Method and Description |
|---|---|
| public boolean | equals(Object
the reference object with which to compare. o)Overrides java. |
| public String | |
| public SocketAddress | |
| public InetSocketAddress | |
| public String | |
| public int | |
| public static HttpConnectProxiedSocketAddress. | |
| public String |
| password | back to summary |
|---|---|
| private final String password
| |
| proxyAddress | back to summary |
|---|---|
| private final SocketAddress proxyAddress | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID | |
| targetAddress | back to summary |
|---|---|
| private final InetSocketAddress targetAddress | |
| username | back to summary |
|---|---|
| private final String username
| |
| HttpConnectProxiedSocketAddress | back to summary |
|---|---|
| private HttpConnectProxiedSocketAddress(SocketAddress proxyAddress, InetSocketAddress targetAddress, String username, String password) | |
| equals | back to summary |
|---|---|
| public boolean equals(Object o) Overrides java. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes. | |
| getPassword | back to summary |
|---|---|
| public String getPassword() Returns the password used to connect to the proxy.
| |
| getProxyAddress | back to summary |
|---|---|
| public SocketAddress getProxyAddress() Returns the address to the proxy, which is already resolved. | |
| getTargetAddress | back to summary |
|---|---|
| public InetSocketAddress getTargetAddress() Returns the address to the target server. | |
| getUsername | back to summary |
|---|---|
| public String getUsername() Returns the username used to connect to the proxy.
| |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Doc from java. Returns a hash code value for the object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
| newBuilder | back to summary |
|---|---|
| public static HttpConnectProxiedSocketAddress. Create a new builder. | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object. | |
HttpConnectProxiedSocketAddress.
| Modifier and Type | Field and Description |
|---|---|
| private String | |
| private SocketAddress | |
| private InetSocketAddress | |
| private String |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public HttpConnectProxiedSocketAddress | |
| public HttpConnectProxiedSocketAddress. | |
| public HttpConnectProxiedSocketAddress. | setProxyAddress(SocketAddress proxyAddress)
Sets the address to the proxy, which is already resolved. |
| public HttpConnectProxiedSocketAddress. | |
| public HttpConnectProxiedSocketAddress. |
| password | back to summary |
|---|---|
| private String password
| |
| proxyAddress | back to summary |
|---|---|
| private SocketAddress proxyAddress | |
| targetAddress | back to summary |
|---|---|
| private InetSocketAddress targetAddress | |
| username | back to summary |
|---|---|
| private String username
| |
| Builder | back to summary |
|---|---|
| private Builder() | |
| build | back to summary |
|---|---|
| public HttpConnectProxiedSocketAddress build() Creates an | |
| setPassword | back to summary |
|---|---|
| public HttpConnectProxiedSocketAddress. Sets the password used to connect to the proxy. This is an optional field and can be | |
| setProxyAddress | back to summary |
|---|---|
| public HttpConnectProxiedSocketAddress. Sets the address to the proxy, which is already resolved. This is a required field. | |
| setTargetAddress | back to summary |
|---|---|
| public HttpConnectProxiedSocketAddress. Sets the address to the target. This is a required field. | |
| setUsername | back to summary |
|---|---|
| public HttpConnectProxiedSocketAddress. Sets the username used to connect to the proxy. This is an optional field and can be | |