    All Packages  Class Hierarchy  This Package  Previous  Next  Index

# Class org.w3c.jigsaw.filters.DebugFilter

    java.lang.Object
       |
       +----org.w3c.tools.resources.AttributeHolder
               |
               +----org.w3c.tools.resources.Resource
                       |
                       +----org.w3c.tools.resources.FramedResource
                               |
                               +----org.w3c.tools.resources.ResourceFrame
                                       |
                                       +----org.w3c.tools.resources.ResourceFilter
                                               |
                                               +----org.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(RequestInterface)
  The ingoing filter - fearly easy !
outgoingFilter(RequestInterface, ReplyInterface)
  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 ReplyInterface ingoingFilter(RequestInterface req)

  The ingoing filter - fearly easy !

  Parameters:
    request - The incomming request.
  Returns:
    Always null.
  Overrides:
    ingoingFilter in class ResourceFilter

outgoingFilter

     public ReplyInterface outgoingFilter(RequestInterface req,
                                          ReplyInterface rep)

  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