Package org.eclipse.jetty.client
Class HttpProxy
- java.lang.Object
-
- org.eclipse.jetty.client.ProxyConfiguration.Proxy
-
- org.eclipse.jetty.client.HttpProxy
-
@Deprecated(since="2021-05-27") public class HttpProxy extends ProxyConfiguration.Proxy
Deprecated.
-
-
Constructor Summary
Constructors Constructor Description HttpProxy(java.lang.String host, int port)
Deprecated.HttpProxy(Origin.Address address, boolean secure)
Deprecated.HttpProxy(Origin.Address address, SslContextFactory.Client sslContextFactory)
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description java.net.URI
getURI()
Deprecated.ClientConnectionFactory
newClientConnectionFactory(ClientConnectionFactory connectionFactory)
Deprecated.-
Methods inherited from class org.eclipse.jetty.client.ProxyConfiguration.Proxy
getAddress, getExcludedAddresses, getIncludedAddresses, getSslContextFactory, isSecure, matches, toString
-
-
-
-
Constructor Detail
-
HttpProxy
public HttpProxy(java.lang.String host, int port)
Deprecated.
-
HttpProxy
public HttpProxy(Origin.Address address, boolean secure)
Deprecated.
-
HttpProxy
public HttpProxy(Origin.Address address, SslContextFactory.Client sslContextFactory)
Deprecated.
-
-
Method Detail
-
newClientConnectionFactory
public ClientConnectionFactory newClientConnectionFactory(ClientConnectionFactory connectionFactory)
Deprecated.- Specified by:
newClientConnectionFactory
in classProxyConfiguration.Proxy
- Parameters:
connectionFactory
- the nestedClientConnectionFactory
- Returns:
- a new
ClientConnectionFactory
for thisProxyConfiguration.Proxy
-
getURI
public java.net.URI getURI()
Deprecated.- Overrides:
getURI
in classProxyConfiguration.Proxy
- Returns:
- an URI representing this proxy, or null if no URI can represent this proxy
-
-