All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class w3c.jigsaw.filters.DebugFilter

java.lang.Object
   |
   +----w3c.tools.store.AttributeHolder
           |
           +----w3c.tools.store.Resource
                   |
                   +----w3c.tools.store.ResourceFrame
                           |
                           +----w3c.jigsaw.resources.ResourceFilter
                                   |
                                   +----w3c.jigsaw.filters.DebugFilter

public class DebugFilter
extends ResourceFilter
Print incoming request and outgoing replies.


Variable Index

 o ATTR_ONOFF
Attribute index - The on/off toggle.

Constructor Index

 o DebugFilter()

Method Index

 o getOnOffFlag()
Get the onoff toggle value.
 o ingoingFilter(Request)
The ingoing filter - fearly easy !
 o outgoingFilter(Request, Reply)
The outgoing filter - As easy as the ingoing filter.

Variables

 o ATTR_ONOFF
 protected static int ATTR_ONOFF
Attribute index - The on/off toggle.

Constructors

 o DebugFilter
 public DebugFilter()

Methods

 o getOnOffFlag
 public boolean getOnOffFlag()
Get the onoff toggle value.

 o ingoingFilter
 public Reply ingoingFilter(Request request)
The ingoing filter - fearly easy !

Parameters:
request - The incomming request.
Returns:
Always null.
Overrides:
ingoingFilter in class ResourceFilter
 o outgoingFilter
 public Reply outgoingFilter(Request request,
                             Reply reply)
The outgoing filter - As easy as the ingoing filter.

Parameters:
request - The original request.
reply - The target's reply.
Throws: HTTPException
If processing failed.
Overrides:
outgoingFilter in class ResourceFilter

All Packages  Class Hierarchy  This Package  Previous  Next  Index