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.


Variable Index

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

Constructor Index

 o ProcessFilter()

Method Index

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

Variables

 o ATTR_COMMAND
 protected static int ATTR_COMMAND
Attribute index - The command we should pass the stream through.

 o runtime
 protected Runtime runtime
A pointer to our runtime object.

Constructors

 o ProcessFilter
 public ProcessFilter()

Methods

 o getCommand
 public String[] getCommand()
Get the command we should process the reply stream through.

 o 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
 o 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