Package org.eclipse.jetty.client
Class HttpProxy
java.lang.Object
org.eclipse.jetty.client.ProxyConfiguration.Proxy
org.eclipse.jetty.client.HttpProxy
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionHttpProxy(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:
newClientConnectionFactoryin classProxyConfiguration.Proxy- Parameters:
connectionFactory- the nestedClientConnectionFactory- Returns:
- a new
ClientConnectionFactoryfor this Proxy
-
getURI
- Overrides:
getURIin classProxyConfiguration.Proxy- Returns:
- an URI representing this proxy, or null if no URI can represent this proxy
-