|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.w3c.www.protocol.http.DebugFilter
public class DebugFilter
A simple debug filter, that will dump traffic This filter will dump the outgoing request, and the incomming reply to the java process standard output.
Usefull for debugging !
| Constructor Summary | |
|---|---|
DebugFilter()
|
|
| Method Summary | |
|---|---|
boolean |
exceptionFilter(Request request,
HttpException ex)
This filter doesn't handle exceptions. |
Reply |
ingoingFilter(Request request)
The ingoing filter just dumps the request. |
void |
initialize(HttpManager manager)
PropRequestFilter implementation - Initialize the filter. |
Reply |
outgoingFilter(Request Request,
Reply reply)
The outgoing filter just dumps the reply. |
void |
sync()
We do not maintain any in-memory cached state. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DebugFilter()
| Method Detail |
|---|
public boolean exceptionFilter(Request request,
HttpException ex)
exceptionFilter in interface RequestFilterrequest - The request that triggered the exception.ex - The triggered exception.
public void initialize(HttpManager manager)
initialize in interface PropRequestFiltermanager - The HTTP manager that is initializing ourself.
public Reply ingoingFilter(Request request)
throws HttpException
ingoingFilter in interface RequestFilterrequest - The request to be filtered.
HttpException - is never thrown.
public Reply outgoingFilter(Request Request,
Reply reply)
throws HttpException
outgoingFilter in interface RequestFilterrequest - The request that is filtered.reply - The corresponding reply.
HttpException - is never thrown.public void sync()
sync in interface RequestFilter
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||