    All Packages  Class Hierarchy  This Package  Previous  Next  Index

# Class org.w3c.jigsaw.filters.ProcessFilter

    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.ProcessFilter

public class ProcessFilter
extends ResourceFilter

This filter process a normal entity body through any process.

Although, you would probably include the filtered resource inside a NegotiatedResource to make sure the target browser accepts this content-encoding.

##

ATTR_COMMAND
  Attribute index - The command we should pass the stream through.
runtime
  A pointer to our runtime object.

##

ProcessFilter()

##

getCommand()
  Get the command we should process the reply stream through.
initialize(Object[])
  Initialize a process filter.
outgoingFilter(RequestInterface, ReplyInterface)
  Process the request output through the provided process filter.

##

ATTR_COMMAND

     protected static int ATTR_COMMAND

  Attribute index - The command we should pass the stream through.

runtime

     protected Runtime runtime

  A pointer to our runtime object.

##

ProcessFilter

     public ProcessFilter()

##

getCommand

     public String[] getCommand()

  Get the command we should process the reply stream through.

outgoingFilter

     public ReplyInterface outgoingFilter(RequestInterface req,
                                          ReplyInterface rep) throws ProtocolException

  Process the request output through the provided process filter.

  Throws: ProtocolException
    If processing should be interrupted, because an abnormal situation occured.
  Overrides:
    outgoingFilter in class ResourceFilter

initialize

     public void initialize(Object values[])

  Initialize a process filter. Just get a pointer to the runtime object.

  Parameters:
    values - The default attribute values.
  Overrides:
    initialize in class FramedResource

    All Packages  Class Hierarchy  This Package  Previous  Next  Index