Package org.eclipse.jetty.client
Class HttpProxy
java.lang.Object
org.eclipse.jetty.client.ProxyConfiguration.Proxy
org.eclipse.jetty.client.HttpProxy
-
Nested Class Summary
-
Constructor Summary
ConstructorDescriptionHttpProxy
(Origin.Address address, boolean secure) HttpProxy
(Origin.Address address, boolean secure, Origin.Protocol protocol) HttpProxy
(Origin.Address address, SslContextFactory.Client sslContextFactory) HttpProxy
(Origin.Address address, SslContextFactory.Client sslContextFactory, Origin.Protocol protocol) -
Method Summary
Modifier and TypeMethodDescriptiongetURI()
newClientConnectionFactory
(ClientConnectionFactory connectionFactory) Methods inherited from class org.eclipse.jetty.client.ProxyConfiguration.Proxy
getAddress, getExcludedAddresses, getIncludedAddresses, getOrigin, getProtocol, getSslContextFactory, isSecure, matches, toString
-
Constructor Details
-
HttpProxy
-
HttpProxy
-
HttpProxy
-
HttpProxy
-
HttpProxy
public HttpProxy(Origin.Address address, SslContextFactory.Client sslContextFactory, Origin.Protocol protocol)
-
-
Method Details
-
newClientConnectionFactory
public ClientConnectionFactory newClientConnectionFactory(ClientConnectionFactory connectionFactory) - Specified by:
newClientConnectionFactory
in classProxyConfiguration.Proxy
- Parameters:
connectionFactory
- the nestedClientConnectionFactory
- Returns:
- a new
ClientConnectionFactory
for this Proxy
-
getURI
- Overrides:
getURI
in classProxyConfiguration.Proxy
- Returns:
- an URI representing this proxy, or null if no URI can represent this proxy
-