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.
-
ATTR_SIZE_LIMIT
- Attribute index - The maximum allowed size of the requested URL
-
URISizeLimiterFilter()
-
-
getLimit()
- Get the maximum size of the URL.
-
ingoingFilter(RequestInterface)
- Check the size of the URL
if it is more than the size defined, an error is sent back
ATTR_SIZE_LIMIT
protected static int ATTR_SIZE_LIMIT
- Attribute index - The maximum allowed size of the requested URL
URISizeLimiterFilter
public URISizeLimiterFilter()
getLimit
public int getLimit()
- Get the maximum size of the URL.
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