All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class w3c.jigsaw.filters.GrepPutFilter

java.lang.Object
   |
   +----w3c.tools.store.AttributeHolder
           |
           +----w3c.tools.store.Resource
                   |
                   +----w3c.tools.store.ResourceFrame
                           |
                           +----w3c.jigsaw.resources.ResourceFilter
                                   |
                                   +----w3c.jigsaw.filters.PutFilter
                                           |
                                           +----w3c.jigsaw.filters.GrepPutFilter

public class GrepPutFilter
extends PutFilter

Variable Index

 o ATTR_FORBIDSTRING
Attribute index - The string to grep.
 o ATTR_REDIRECT
Attribute index - The url to redirect.

Constructor Index

 o GrepPutFilter()

Method Index

 o getForbiddenString()
 o getRedirectURL()
 o ingoingFilter(Request)
Search the forbidden string in the body, if found return an ACCES FORBIDDEN Reply.
 o searchForbiddenString(InputStream)

Variables

 o ATTR_FORBIDSTRING
 protected static int ATTR_FORBIDSTRING
Attribute index - The string to grep.

 o ATTR_REDIRECT
 protected static int ATTR_REDIRECT
Attribute index - The url to redirect.

Constructors

 o GrepPutFilter
 public GrepPutFilter()

Methods

 o getForbiddenString
 protected String getForbiddenString()
 o getRedirectURL
 protected String getRedirectURL()
 o ingoingFilter
 public Reply ingoingFilter(Request request)
Search the forbidden string in the body, if found return an ACCES FORBIDDEN Reply.

Parameters:
request - The request that is about to be processsed.
Overrides:
ingoingFilter in class PutFilter
 o searchForbiddenString
 protected boolean searchForbiddenString(InputStream in)

All Packages  Class Hierarchy  This Package  Previous  Next  Index