HttpProxy, Socks4Proxypublic abstract static class ProxyConfiguration.Proxy
extends java.lang.Object
| Modifier | Constructor | Description |
|---|---|---|
protected |
Proxy(Origin.Address address,
boolean secure) |
| Modifier and Type | Method | Description |
|---|---|---|
Origin.Address |
getAddress() |
|
java.util.Set<java.lang.String> |
getExcludedAddresses() |
|
java.util.Set<java.lang.String> |
getIncludedAddresses() |
|
java.net.URI |
getURI() |
|
boolean |
isSecure() |
|
boolean |
matches(Origin origin) |
Matches the given
origin with the included and excluded addresses,
returning true if the given origin is to be proxied. |
abstract ClientConnectionFactory |
newClientConnectionFactory(ClientConnectionFactory connectionFactory) |
|
java.lang.String |
toString() |
protected Proxy(Origin.Address address, boolean secure)
public Origin.Address getAddress()
public boolean isSecure()
public java.util.Set<java.lang.String> getIncludedAddresses()
matches(Origin),
getExcludedAddresses()public java.util.Set<java.lang.String> getExcludedAddresses()
matches(Origin),
getIncludedAddresses()public java.net.URI getURI()
public boolean matches(Origin origin)
origin with the included and excluded addresses,
returning true if the given origin is to be proxied.origin - the origin to test for proxyingpublic abstract ClientConnectionFactory newClientConnectionFactory(ClientConnectionFactory connectionFactory)
connectionFactory - the nested ClientConnectionFactoryClientConnectionFactory for this ProxyConfiguration.Proxypublic java.lang.String toString()
toString in class java.lang.ObjectCopyright © 1995–2017 Webtide. All rights reserved.