Package sunlabs.brazil.filter

Filters are a type of handler, used by the filterHandler that can modify content after it has been obtained by another handler.

See:
          Description

Interface Summary
Filter The Filter interface is used by the FilterHandler to examine and dynamically rewrite the contents of web pages obtained from some source before returning that page to the client.
 

Class Summary
CopyContentFilter Filter to save content (of an entire site) to a disk file.
ExecFilter Filter to Run all content through an external process filter.
FilterHandler The FilterHandler captures the output of another Handler and allows the ouput to be modified.
HighlightFilter Rewrite text between markup (and not in links) based on re sub's.
MD5Filter Filter to compute the MD5 checksum of the content, and generate the appropriate "Content-MD5" http header.
PhoneFilter Rewrite text between markup (and not in links) based on re sub's
re regular 'phone' expression.
PlainFilter Filter to turn text/plain into html.
ReFilter Filter to replace text content via a reqular expression substitution.
ReplaceFilter Filter to replace current content with a static form, or template.
SessionFilter Filter to manage browser sessions using browser cookies or URL rewriting as needed.
TemplateFilter The TemplateFilter sends HTML content through an Html/XML parser to a set of Templates.
UrlMapFilter Filter to Map url's from any proxied content.
UrlSessionFilter Sample filter to use url's instead of cookies for sessions.
 

Package sunlabs.brazil.filter Description

Filters are a type of handler, used by the filterHandler that can modify content after it has been obtained by another handler.

A filter is a special type of handler that has two additional methods, filter and shouldFilter. Normally, once a handler generates the content for a request, the content is delivered to the client, and the request is finished. Although this allows for a choice in the manner in which the content is obtained, nothing can be done to modify that content before it is transmitted to the client.

The filterHandler arranges for the content generated by another handler (or handlers) to be captured, allowing it to be filtered before it is sent to the client.


Version Kenai-svn-r24, Generated 08/18/09
Copyright (c) 2001-2009, Sun Microsystems.