| Modifier and Type | Field and Description |
|---|---|
static int[] |
ALL_PORTS |
| Constructor and Description |
|---|
HttpProxy(String proxyHost,
int proxyPort) |
| Modifier and Type | Method and Description |
|---|---|
void |
connect(Socket socket,
String host,
int port) |
HttpProxy |
withAuth(String user,
String password) |
HttpProxy |
withConnectPorts(int... connectPorts) |
public HttpProxy(String proxyHost, int proxyPort)
public HttpProxy withConnectPorts(int... connectPorts)
public void connect(Socket socket, String host, int port) throws IOException
connect in interface ProxyIOExceptionCopyright © 2019. All rights reserved.