Package org.eclipse.jetty.client
Class ProxyConfiguration.Proxy
- java.lang.Object
-
- org.eclipse.jetty.client.ProxyConfiguration.Proxy
-
- Direct Known Subclasses:
HttpProxy,Socks4Proxy
- Enclosing class:
- ProxyConfiguration
@Deprecated(since="2021-05-27") public abstract static class ProxyConfiguration.Proxy extends java.lang.ObjectDeprecated.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Deprecated Methods Modifier and Type Method Description Origin.AddressgetAddress()Deprecated.java.util.Set<java.lang.String>getExcludedAddresses()Deprecated.java.util.Set<java.lang.String>getIncludedAddresses()Deprecated.SslContextFactory.ClientgetSslContextFactory()Deprecated.java.net.URIgetURI()Deprecated.booleanisSecure()Deprecated.booleanmatches(Origin origin)Deprecated.Matches the givenoriginwith the included and excluded addresses, returning true if the givenoriginis to be proxied.abstract ClientConnectionFactorynewClientConnectionFactory(ClientConnectionFactory connectionFactory)Deprecated.java.lang.StringtoString()Deprecated.
-
-
-
Method Detail
-
getAddress
public Origin.Address getAddress()
Deprecated.- Returns:
- the address of this proxy
-
isSecure
public boolean isSecure()
Deprecated.- Returns:
- whether the connection to the proxy must be secured via TLS
-
getSslContextFactory
public SslContextFactory.Client getSslContextFactory()
Deprecated.- Returns:
- the optional SslContextFactory to use when connecting to proxies
-
getIncludedAddresses
public java.util.Set<java.lang.String> getIncludedAddresses()
Deprecated.- Returns:
- the list of origins that must be proxied
- See Also:
matches(Origin),getExcludedAddresses()
-
getExcludedAddresses
public java.util.Set<java.lang.String> getExcludedAddresses()
Deprecated.- Returns:
- the list of origins that must not be proxied.
- See Also:
matches(Origin),getIncludedAddresses()
-
getURI
public java.net.URI getURI()
Deprecated.- Returns:
- an URI representing this proxy, or null if no URI can represent this proxy
-
matches
public boolean matches(Origin origin)
Deprecated.Matches the givenoriginwith the included and excluded addresses, returning true if the givenoriginis to be proxied.- Parameters:
origin- the origin to test for proxying- Returns:
- true if the origin must be proxied, false otherwise
-
newClientConnectionFactory
public abstract ClientConnectionFactory newClientConnectionFactory(ClientConnectionFactory connectionFactory)
Deprecated.- Parameters:
connectionFactory- the nestedClientConnectionFactory- Returns:
- a new
ClientConnectionFactoryfor thisProxyConfiguration.Proxy
-
toString
public java.lang.String toString()
Deprecated.- Overrides:
toStringin classjava.lang.Object
-
-