    All Packages  Class Hierarchy  This Package  Previous  Next  Index

# Class w3c.jigsaw.filters.ProcessFilter

    java.lang.Object
       |
       +----w3c.tools.store.AttributeHolder
               |
               +----w3c.tools.store.Resource
                       |
                       +----w3c.jigsaw.resources.ResourceFilter
                               |
                               +----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 NegociatedResource 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(Request, Reply)
  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 Reply outgoingFilter(Request request,
                                  Reply reply) throws HTTPException

  Process the request output through the provided process filter.
  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 ResourceFilter

    All Packages  Class Hierarchy  This Package  Previous  Next  Index