|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectrabbit.filter.SQLBlockFilter
public class SQLBlockFilter
A blocker that checks hosts against a sql database
| Constructor Summary | |
|---|---|
SQLBlockFilter()
|
|
| Method Summary | |
|---|---|
HttpHeader |
doConnectFiltering(java.nio.channels.SocketChannel socket,
HttpHeader header,
Connection con)
Test if a socket/header combination is valid or return a new HttpHeader. |
HttpHeader |
doHttpInFiltering(java.nio.channels.SocketChannel socket,
HttpHeader header,
Connection con)
Test if a socket/header combination is valid or return a new HttpHeader. |
HttpHeader |
doHttpOutFiltering(java.nio.channels.SocketChannel socket,
HttpHeader header,
Connection con)
Test if a socket/header combination is valid or return a new HttpHeader. |
void |
setup(SProperties props,
HttpProxy proxy)
Setup this class with the given properties. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SQLBlockFilter()
| Method Detail |
|---|
public HttpHeader doHttpInFiltering(java.nio.channels.SocketChannel socket,
HttpHeader header,
Connection con)
HttpFilter
doHttpInFiltering in interface HttpFiltersocket - the Socket that made the request.header - the actual request made.con - the Connection handling the request.
public HttpHeader doHttpOutFiltering(java.nio.channels.SocketChannel socket,
HttpHeader header,
Connection con)
HttpFilter
doHttpOutFiltering in interface HttpFiltersocket - the Socket that made the request.header - the actual request made.con - the Connection handling the request.
public HttpHeader doConnectFiltering(java.nio.channels.SocketChannel socket,
HttpHeader header,
Connection con)
HttpFilter
doConnectFiltering in interface HttpFiltersocket - the Socket that made the request.header - the actual request made.con - the Connection handling the request.
public void setup(SProperties props,
HttpProxy proxy)
setup in interface HttpFilterprops - the new configuration of this class.proxy - the HttpProxy that is using this filter
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||