Class w3c.www.protocol.http.DebugFilter
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class w3c.www.protocol.http.DebugFilter

java.lang.Object
   |
   +----w3c.www.protocol.http.DebugFilter

public class DebugFilter
extends Object
implements PropRequestFilter
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 Index

 o DebugFilter()

Method Index

 o ingoingFilter(Request)
The ingoing filter just dumps the request.
 o initialize(HttpManager)
PropRequestFilter implementation - Initialize the filter.
 o outgoingFilter(Request, Reply)
The outgoing filter just dumps the reply.

Constructors

 o DebugFilter
  public DebugFilter()

Methods

 o initialize
  public void initialize(HttpManager manager)
PropRequestFilter implementation - Initialize the filter. Time to register ourself to the HttpManager.
Parameters:
manager - The HTTP manager that is initializing ourself.
 o ingoingFilter
  public Reply ingoingFilter(Request request) throws HttpException
The ingoing filter just dumps the request.
Parameters:
request - The request to be filtered.
Throws: HttpException
is never thrown.
 o outgoingFilter
  public Reply outgoingFilter(Request Request,
                              Reply reply) throws HttpException
The outgoing filter just dumps the reply.
Parameters:
request - The request that is filtered.
reply - The corresponding reply.
Throws: HttpException
is never thrown.

All Packages  Class Hierarchy  This Package  Previous  Next  Index