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
IOException
public void shutdown(TimeValue timeout) throws InterruptedException
InterruptedException
protected void startSocksProxyHandler(Socket socket)
protected void cleanupSocksProxyHandler(org.apache.hc.core5.testing.SocksProxy.SocksProxyHandler handler)
public SocketAddress getProxyAddress()
Copyright © 2005–2021 The Apache Software Foundation. All rights reserved.