|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectrabbit.filter.HTTPSnoop
public class HTTPSnoop
This is a class that prints the HTTP headers on the standard out stream.
Constructor Summary | |
---|---|
HTTPSnoop()
|
Method Summary | |
---|---|
HTTPHeader |
doHTTPInFiltering(java.net.Socket socket,
HTTPHeader header,
Connection con)
test if a socket/header combination is valid or return a new HTTPHeader. |
HTTPHeader |
doHTTPOutFiltering(java.net.Socket 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 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 HTTPSnoop()
Method Detail |
---|
public HTTPHeader doHTTPInFiltering(java.net.Socket socket, HTTPHeader header, Connection con)
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(java.net.Socket socket, HTTPHeader header, Connection con)
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)
setup
in interface HTTPFilter
logger
- the Logger to output errors/warnings on.properties
- the new configuration of this class.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |