public abstract static class ProxyConfiguration.Proxy
extends java.lang.Object
Modifier | Constructor and Description |
---|---|
protected |
Proxy(Origin.Address address,
boolean secure) |
Modifier and Type | Method and 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 ClientConnectionFactory
ClientConnectionFactory
for this ProxyConfiguration.Proxy
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 1995–2023 Webtide. All rights reserved.