public class SocksProxy extends Object
| Constructor and Description | 
|---|
| SocksProxy() | 
| SocksProxy(int port) | 
| Modifier and Type | Method and Description | 
|---|---|
| protected void | cleanupSocksProxyHandler(org.apache.hc.core5.testing.SocksProxy.SocksProxyHandler handler) | 
| SocketAddress | getProxyAddress() | 
| void | shutdown(TimeValue timeout) | 
| void | start() | 
| protected void | startSocksProxyHandler(Socket socket) | 
public void start()
           throws IOException
IOExceptionpublic void shutdown(TimeValue timeout) throws InterruptedException
InterruptedExceptionprotected void startSocksProxyHandler(Socket socket)
protected void cleanupSocksProxyHandler(org.apache.hc.core5.testing.SocksProxy.SocksProxyHandler handler)
public SocketAddress getProxyAddress()
Copyright © 2005–2022 The Apache Software Foundation. All rights reserved.