All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class org.w3c.jigsaw.filters.URISizeLimiterFilter

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

public class URISizeLimiterFilter
extends ResourceFilter
This filters limit the size of URI.


Variable Index

 o ATTR_SIZE_LIMIT
Attribute index - The maximum allowed size of the requested URL

Constructor Index

 o URISizeLimiterFilter()

Method Index

 o getLimit()
Get the maximum size of the URL.
 o ingoingFilter(RequestInterface)
Check the size of the URL if it is more than the size defined, an error is sent back

Variables

 o ATTR_SIZE_LIMIT
 protected static int ATTR_SIZE_LIMIT
Attribute index - The maximum allowed size of the requested URL

Constructors

 o URISizeLimiterFilter
 public URISizeLimiterFilter()

Methods

 o getLimit
 public int getLimit()
Get the maximum size of the URL.

 o ingoingFilter
 public synchronized ReplyInterface ingoingFilter(RequestInterface req)
Check the size of the URL if it is more than the size defined, an error is sent back

Returns:
a Reply or null if successful
Overrides:
ingoingFilter in class ResourceFilter

All Packages  Class Hierarchy  This Package  Previous  Next  Index