Package org.eclipse.jetty.client
Class Socks4Proxy
- java.lang.Object
-
- org.eclipse.jetty.client.ProxyConfiguration.Proxy
-
- org.eclipse.jetty.client.Socks4Proxy
-
public class Socks4Proxy extends ProxyConfiguration.Proxy
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Socks4Proxy.Socks4ProxyClientConnectionFactory
-
Constructor Summary
Constructors Constructor Description Socks4Proxy(java.lang.String host, int port)
Socks4Proxy(Origin.Address address, boolean secure)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ClientConnectionFactory
newClientConnectionFactory(ClientConnectionFactory connectionFactory)
-
Methods inherited from class org.eclipse.jetty.client.ProxyConfiguration.Proxy
getAddress, getExcludedAddresses, getIncludedAddresses, getSslContextFactory, getURI, isSecure, matches, toString
-
-
-
-
Constructor Detail
-
Socks4Proxy
public Socks4Proxy(java.lang.String host, int port)
-
Socks4Proxy
public Socks4Proxy(Origin.Address address, boolean secure)
-
-
Method Detail
-
newClientConnectionFactory
public ClientConnectionFactory newClientConnectionFactory(ClientConnectionFactory connectionFactory)
- Specified by:
newClientConnectionFactory
in classProxyConfiguration.Proxy
- Parameters:
connectionFactory
- the nestedClientConnectionFactory
- Returns:
- a new
ClientConnectionFactory
for thisProxyConfiguration.Proxy
-
-