|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object rabbit.filter.RevalidateFilter
public class RevalidateFilter
This is a class that makes all requests (matching a few criterias) use revalidation even if there is a usable resource in the cache.
Constructor Summary | |
---|---|
RevalidateFilter()
|
Method Summary | |
---|---|
HttpHeader |
doHttpInFiltering(SocketChannel socket,
HttpHeader header,
Connection con)
test if a socket/header combination is valid or return a new HttpHeader. |
HttpHeader |
doHttpOutFiltering(SocketChannel socket,
HttpHeader header,
Connection con)
test if a socket/header combination is valid or return a new HttpHeader. |
void |
setup(Logger logger,
SProperties properties)
Setup this filter. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RevalidateFilter()
Method Detail |
---|
public HttpHeader doHttpInFiltering(SocketChannel socket, HttpHeader header, Connection con)
HttpFilter
doHttpInFiltering
in interface HttpFilter
socket
- the Socket that made the request.header
- the actual request made.con
- the Connection handling the request.
public HttpHeader doHttpOutFiltering(SocketChannel socket, HttpHeader header, Connection con)
HttpFilter
doHttpOutFiltering
in interface HttpFilter
socket
- the Socket that made the request.header
- the actual request made.con
- the Connection handling the request.
public void setup(Logger logger, SProperties properties)
HttpFilter
setup
in interface HttpFilter
logger
- the Logger to output errors/warnings on.properties
- the SProperties to get the settings from.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |