|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object rabbit.filter.DontFilterFilter
This is a class that makes sure the proxy doesnt filter certain pages. It matches pages based on the URL.
It uses the config option dontFilterURLmatching with a default value
of the empty string. This value is considered a comma ',' separated list.
Matching is done with indexOf so no regular expressions are used for now.
Method Summary | |
static HTTPHeader |
doHTTPInFiltering(java.net.Socket socket,
HTTPHeader header,
Connection con)
Test if a socket/header combination is valid or return a new HTTPHeader. |
static HTTPHeader |
doHTTPOutFiltering(java.net.Socket socket,
HTTPHeader header,
Connection con)
test if a socket/header combination is valid or return a new HTTPHeader. |
static void |
setup(java.util.Properties properties)
Setup this class with the given properties. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public static HTTPHeader doHTTPInFiltering(java.net.Socket socket, HTTPHeader header, Connection con)
socket
- the Socket that made the request.header
- the actual request made.con
- the Connection handling the request.
public static HTTPHeader doHTTPOutFiltering(java.net.Socket socket, HTTPHeader header, Connection con)
socket
- the Socket that made the request.header
- the actual request made.con
- the Connection handling the request.
public static void setup(java.util.Properties properties)
properties
- the new configuration of this class.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |