    All Packages  Class Hierarchy  This Package  Previous  Next  Index

# Class w3c.jigsaw.filters.DebugFilter

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

public class DebugFilter
extends ResourceFilter

Print incoming request and outgoing replies.

##

ATTR_ONOFF
  Attribute index - The on/off toggle.

##

DebugFilter()

##

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

##

ATTR_ONOFF

      protected static int ATTR_ONOFF

  Attribute index - The on/off toggle.

##

DebugFilter

      public DebugFilter()

##

getOnOffFlag

      public boolean getOnOffFlag()

  Get the onoff toggle value.

ingoingFilter

      public Reply ingoingFilter(Request request)

  The ingoing filter - fearly easy !
  Parameters:
    request - The incomming request.
  Returns:
    Always null.
  Overrides:
    ingoingFilter in class ResourceFilter

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