|
Java HTTP Proxy Library Project Page
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.wpg.proxy.ProxyRegistry
public class ProxyRegistry
A static data container that keeps references to every HttpMessageHandler/Processor that must be called by the Proxy for each message. It also containes the SSL key information.
Method Summary | |
---|---|
static void |
addHandler(HttpMessageHandler hml)
Add a new handler to receive incomming http responses, as well as the request |
static void |
addRequestProcessor(HttpMessageProcessor hmp)
Add a new request processor |
static void |
addResponseProcessor(HttpMessageProcessor hmp)
Add a new response processor |
static void |
enableStatusBrowser(boolean enable)
enable or dissable the status browser capability |
protected static java.util.Vector<HttpMessageHandler> |
getHandlers()
Get the list of request handlers |
protected static java.lang.String |
getKeystoreFilename()
Get Keystore File Name |
protected static char[] |
getKeystoreKeysPassword()
Get Keystore keys password |
protected static char[] |
getKeystorePassword()
Get Keystore password |
protected static java.util.Vector<HttpMessageProcessor> |
getRequestProcessors()
Get the list of request processors |
protected static java.util.Vector<HttpMessageProcessor> |
getResponseProcessors()
Get the list of response processors |
static boolean |
isStatusBrowserEnabled()
is the status browser capability enabled? |
static boolean |
removeHandler(HttpMessageHandler hml)
Removes a response handler |
static boolean |
removeRequestProcessor(HttpMessageProcessor hmp)
Removes a response processor |
static boolean |
removeResponseProcessor(HttpMessageProcessor hmp)
Removes a response processor |
protected static void |
setKeystoreFilename(java.lang.String s)
Set Keystore File Name |
protected static void |
setKeystoreKeysPassword(char[] c)
Set Keystore keys password |
protected static void |
setKeystorePassword(char[] c)
Set Keystore password |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static boolean isStatusBrowserEnabled()
public static void enableStatusBrowser(boolean enable)
public static void addHandler(HttpMessageHandler hml)
public static boolean removeHandler(HttpMessageHandler hml)
protected static java.util.Vector<HttpMessageHandler> getHandlers()
public static void addRequestProcessor(HttpMessageProcessor hmp)
public static boolean removeRequestProcessor(HttpMessageProcessor hmp)
protected static java.util.Vector<HttpMessageProcessor> getRequestProcessors()
public static void addResponseProcessor(HttpMessageProcessor hmp)
public static boolean removeResponseProcessor(HttpMessageProcessor hmp)
protected static java.util.Vector<HttpMessageProcessor> getResponseProcessors()
protected static void setKeystoreFilename(java.lang.String s)
protected static void setKeystorePassword(char[] c)
protected static void setKeystoreKeysPassword(char[] c)
protected static java.lang.String getKeystoreFilename()
protected static char[] getKeystorePassword()
protected static char[] getKeystoreKeysPassword()
|
Java HTTP Proxy Library Project Page
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |