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 Object
Deprecated.
-
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Deprecated.Deprecated.Deprecated.getURI()
Deprecated.boolean
isSecure()
Deprecated.boolean
Deprecated.Matches the givenorigin
with the included and excluded addresses, returning true if the givenorigin
is to be proxied.abstract ClientConnectionFactory
newClientConnectionFactory
(ClientConnectionFactory connectionFactory) Deprecated.toString()
Deprecated.
-
Method Details
-
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
Deprecated.- Returns:
- the optional SslContextFactory to use when connecting to proxies
-
getIncludedAddresses
Deprecated.- Returns:
- the list of origins that must be proxied
- See Also:
-
getExcludedAddresses
Deprecated.- Returns:
- the list of origins that must not be proxied.
- See Also:
-
getURI
Deprecated.- Returns:
- an URI representing this proxy, or null if no URI can represent this proxy
-
matches
Deprecated.Matches the givenorigin
with the included and excluded addresses, returning true if the givenorigin
is 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
ClientConnectionFactory
for thisProxyConfiguration.Proxy
-
toString
Deprecated.
-