Rakesh API

Package org.rakeshv.filters

This package contains servlet filters that may be deployed into any Servlet 2.4 compliant servlet container.

See:
          Description

Class Summary
CachingFilter A Filter class that is used to cache the responses generated by the server.
CachingResponseStream A sub-class of ServletOutputStream that is used to cache the response sent by the server to a client request.
CachingResponseWrapper A HttpServletResponseWrapper class that is used to create a cached output stream.
CompressionFilter A Filter class that is used to compress the response to a client request.
CompressionResponseStream A sub-class of ServletOutputStream that is used to compress the response sent by the server to a client request.
CompressionResponseWrapper A HttpServletResponseWrapper class that is used to create a compressed output stream.
FilterAdapter A Filter class that implements the Filter interface, and provides default implementations for all the methods.
 

Package org.rakeshv.filters Description

This package contains servlet filters that may be deployed into any Servlet 2.4 compliant servlet container.

The primary filters available in this package are:

  1. CompressionFilter class that can be used to enable compressed responses to the client. The compression algorithms supported are those that are available in the java.util.zip package. Specifying the special * value will result in a document that is compressed using Deflate algorithm. This filter requires only a Servlet 2.3 compatible container.
  2. CachingFilter class that can be used to cache the responses for the request to a file. This is most useful for caching dynamically generated pages (generated by JSP or Servlets) whose individual requests may be uniquely identified by all the request parameters. The filter may be configured to purge the cache automatically, or associate a TTL with each cache file.

Download the package here.


Rakesh API

Copyright © 2002-2005 - Rakesh Vidyadharan