Sun and Oracle Community Voices How to Buy Log In United States [Change] English

»  Spotlight Articles
»  Projects
»  Publications
»  People
»  Awards
»  Events
»  Downloads
»  Internships
»  Contrarian Minds
»  About Sun Labs
Brazil project: Package sunlabs.brazil.filter

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.
FilterHandler The FilterHandler captures the output of some Handler and then applies an number of Filters to change that output before it is returned to the client.
PlainFilter Filter to turn text/plain into html The following server properties are used: template The string to use as an html template.
ReplaceFilter Filter to replace current content with a static form, or template.
TemplateFilter The TemplateFilter sends HTML content through an Html/XML parser to a set of Templates.
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 2.2, Generated 07/25/00
Copyright (c) 2000, Sun Microsystems.