|
Java HTTP Proxy Library Project Page
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Thread
com.wpg.proxy.Proxy
public class Proxy
Main Proxy class which has a test main method and is the base class for all proxy handling
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 | |
---|---|
Proxy(java.net.InetAddress inetAddr,
int port,
int backlog)
Creates a new Proxy without ssl support |
|
Proxy(java.net.InetAddress inetAddr,
int port,
int backlog,
java.lang.String keyfile,
char[] spass,
char[] kpass)
Creates a new Proxy with ssl support |
Method Summary | |
---|---|
int |
getBacklog()
Get the backlog, or number of awaiting requests to queue |
java.net.InetAddress |
getInetAddress()
Get the address to listen for new requests on |
int |
getPort()
Get the port to listen for new requests on |
boolean |
isRunning()
is the server running? |
static void |
main(java.lang.String[] args)
|
void |
run()
|
void |
setBacklog(int i)
Set the backlog, or number of awaiting requests to queue |
void |
setInetAddress(java.net.InetAddress ia)
Set the address to listen for new requests on |
void |
setPort(int i)
Set the port to listen for new requests on |
void |
shutdown()
stop the proxy server |
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 |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Proxy(java.net.InetAddress inetAddr, int port, int backlog, java.lang.String keyfile, char[] spass, char[] kpass)
public Proxy(java.net.InetAddress inetAddr, int port, int backlog)
Method Detail |
---|
public boolean isRunning()
public void shutdown()
public void setInetAddress(java.net.InetAddress ia)
public void setPort(int i)
public void setBacklog(int i)
public java.net.InetAddress getInetAddress()
public int getPort()
public int getBacklog()
public void run()
run
in interface java.lang.Runnable
run
in class java.lang.Thread
public static void main(java.lang.String[] args)
|
Java HTTP Proxy Library Project Page
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |