Package org.eclipse.jetty.client
Class Socks4Proxy
java.lang.Object
org.eclipse.jetty.client.ProxyConfiguration.Proxy
org.eclipse.jetty.client.Socks4Proxy
-
Nested Class Summary
-
Constructor Summary
ConstructorDescriptionSocks4Proxy
(String host, int port) Socks4Proxy
(Origin.Address address, boolean secure) -
Method Summary
Modifier and TypeMethodDescriptionnewClientConnectionFactory
(ClientConnectionFactory connectionFactory) Methods inherited from class org.eclipse.jetty.client.ProxyConfiguration.Proxy
getAddress, getExcludedAddresses, getIncludedAddresses, getOrigin, getProtocol, getSslContextFactory, getURI, isSecure, matches, toString
-
Constructor Details
-
Socks4Proxy
-
Socks4Proxy
-
-
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
-