Class SocksProxy
java.lang.Object
org.apache.hc.core5.testing.SocksProxy
Deprecated.
Do not use.
Cheap and nasty SOCKS protocol version 5 proxy, recommended for use in unit tests only so we can test our SOCKS client code.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidcleanupSocksProxyHandler(org.apache.hc.core5.testing.SocksProxy.SocksProxyHandler handler) Deprecated.Deprecated.voidshutdown(org.apache.hc.core5.util.TimeValue timeout) Deprecated.voidstart()Deprecated.protected voidstartSocksProxyHandler(Socket socket) Deprecated.
-
Constructor Details
-
SocksProxy
public SocksProxy()Deprecated. -
SocksProxy
public SocksProxy(int port) Deprecated.
-
-
Method Details
-
start
-
shutdown
Deprecated.- Throws:
InterruptedException
-
startSocksProxyHandler
Deprecated. -
cleanupSocksProxyHandler
protected void cleanupSocksProxyHandler(org.apache.hc.core5.testing.SocksProxy.SocksProxyHandler handler) Deprecated. -
getProxyAddress
Deprecated.
-