sunlabs.brazil.filter |
|
Java Source File Name | Type | Comment |
CopyContentFilter.java | Class | Filter to save content (of an entire site) to a disk file.
This is used to "steal" other sites. |
Filter.java | Interface | 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.
A chain of filters can be established in the manner of a pipeline. |
FilterHandler.java | Class | The FilterHandler captures the output of some
Handler and then applies an number of
sunlabs.brazil.filter.Filter Filters to change that output
before it is returned to the client.
This handler provides one of the core services now associated with
the Brazil Server: the ability to dynamically rewrite web content
obtained from an arbitrary source.
For instance, the FilterHandler can be used as a proxy for
a PDA. |
PlainFilter.java | Class | Filter to turn text/plain into html. |
ReplaceFilter.java | Class | Filter to replace current content with a static form, or template.
This should be called
the TemplateFiler, but that name's already taken. |
SessionFilter.java | Class | Filter to manage browser sessions.
This should be used as the last filter in the filter chain.
It attempts to use browser cookies. |
TemplateFilter.java | Class | The TemplateFilter sends HTML content through an
Html/XML parser to a set of Template s. |
UrlSessionFilter.java | Class | Sample filter to use url's instead of cookies for sessions.
When html files are delivered, all URL's back to this host are
changed to add in the session information.
When requests are made, the session info is stripped off the URL,
which is passed to the rest of the handlers.
Note: This fiter has been superceded by the
SessionFilter . |