|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Thread
ProxyServer.ProxyServerMain
public class ProxyServerMain
This is the main proxy server class that provides functionality to instantiate a proxy server on a given port and start/stop listening.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class java.lang.Thread |
---|
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler |
Field Summary |
---|
Fields inherited from class java.lang.Thread |
---|
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
Constructor Summary | |
---|---|
ProxyServerMain()
|
|
ProxyServerMain(int p)
|
Method Summary | |
---|---|
void |
run()
|
void |
startFuzzer()
|
boolean |
startProxyServer(int port)
Starts a proxy server on the specified port |
void |
startRec()
Starts recording traffic |
void |
startThreadFuzzer()
|
void |
startThreadRec()
|
void |
stopFuzzer()
|
void |
stopProxyServer()
Stops recording traffic on the proxy |
void |
stopRec()
Stops recording traffic |
void |
stopServerThread()
|
void |
stopThreadFuzzer()
|
void |
stopThreadRec()
|
Methods inherited from class java.lang.Thread |
---|
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ProxyServerMain()
public ProxyServerMain(int p)
Method Detail |
---|
public boolean startProxyServer(int port)
port
- Port on which the proxy should be started
public void run()
run
in interface java.lang.Runnable
run
in class java.lang.Thread
public void stopProxyServer()
public void stopServerThread()
public void startRec()
public void startThreadRec()
public void stopRec()
public void stopThreadRec()
public void startFuzzer()
public void startThreadFuzzer()
public void stopFuzzer()
public void stopThreadFuzzer()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |