public final class DirectProxy
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
DirectProxy.AllowProxyConnectionCallback |
static class |
DirectProxy.RequestInfo
This class holds the URI, method (HTTP or "CONNECT"), port and a
JonDoProxy argument, that were read from a Request received from the
client.
|
Constructor and Description |
---|
DirectProxy(java.net.ServerSocket a_socket,
java.net.ServerSocket a_socketTwo,
IMutableProxyInterface a_proxyInterface,
DirectProxy.AllowProxyConnectionCallback a_callback) |
Modifier and Type | Method and Description |
---|---|
boolean |
allowDomain(java.net.URL a_url) |
java.net.ServerSocket |
getSocketListener() |
java.net.ServerSocket |
getSocketListenerTwo() |
boolean |
isConnected() |
void |
reset() |
boolean |
start() |
void |
stop() |
public DirectProxy(java.net.ServerSocket a_socket, java.net.ServerSocket a_socketTwo, IMutableProxyInterface a_proxyInterface, DirectProxy.AllowProxyConnectionCallback a_callback)
public boolean isConnected()
public java.net.ServerSocket getSocketListener()
public java.net.ServerSocket getSocketListenerTwo()
public void reset()
public boolean start()
public boolean allowDomain(java.net.URL a_url)
public void stop()
Copyright © 2023. All rights reserved.