All Packages Class Hierarchy This Package Previous Next Index
Class org.w3c.jigsaw.filters.GrepPutFilter
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.PutFilter
|
+----org.w3c.jigsaw.filters.GrepPutFilter
- public class GrepPutFilter
- extends PutFilter
-
ATTR_FORBIDSTRING
- Attribute index - The string to grep.
-
ATTR_REDIRECT
- Attribute index - The url to redirect.
-
GrepPutFilter()
-
-
getForbiddenString()
-
-
getRedirectURL()
-
-
ingoingFilter(RequestInterface)
- Search the forbidden string in the body, if found return
an ACCES FORBIDDEN Reply.
-
searchForbiddenString(InputStream)
-
ATTR_FORBIDSTRING
protected static int ATTR_FORBIDSTRING
- Attribute index - The string to grep.
ATTR_REDIRECT
protected static int ATTR_REDIRECT
- Attribute index - The url to redirect.
GrepPutFilter
public GrepPutFilter()
getForbiddenString
protected String getForbiddenString()
getRedirectURL
protected String getRedirectURL()
ingoingFilter
public ReplyInterface ingoingFilter(RequestInterface req)
- 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
searchForbiddenString
protected boolean searchForbiddenString(InputStream in)
All Packages Class Hierarchy This Package Previous Next Index