pagemixer.filter
Class CommonFilter
java.lang.Object
|
+--jp.ne.dti.lares.foozy.pagemixer.mixer.Filter
|
+--jp.ne.dti.lares.foozy.pagemixer.mixer.FilterPipeline
|
+--pagemixer.filter.CommonFilter
- All Implemented Interfaces:
- jp.ne.dti.lares.foozy.pagemixer.mixer.Consumer, ServletConstants, ServletKeys
- public class CommonFilter
- extends jp.ne.dti.lares.foozy.pagemixer.mixer.FilterPipeline
- implements ServletKeys
Composit filter consisting of filters related to common function.
This filter consists of below filters.
- jp.ne.dti.lares.foozy.pagemixer.html.URLRewriteFilter.A
- jp.ne.dti.lares.foozy.pagemixer.html.URLRewriteFilter.IMG
- jp.ne.dti.lares.foozy.pagemixer.html.URLRewriteFilter.FORM
- jp.ne.dti.lares.foozy.pagemixer.html.URLRewriteFilter.LINK
- jp.ne.dti.lares.foozy.pagemixer.html.BaseTagFilter
LocaleIterationFilter
HeaderTextInsetFilter
with "User-Agent" and "Header-UserAgent"
ErrorURIInsetFilter
This filter may modify URL information in tokens.
So, you should place this at the end of filter sequence,
if you have plan to create custom filter to modify URL information.
If you use FilterPipeline
to combine with other filters,
please "push" this at first
because FilterPipeline is implemented as
"Last In(= push) First Consume"(, or "add" at last)
By the way,
URL rewriting of this filter may rewrite URL
not pointing to internal page,
because Servlet container "HTTPServletResponse" implementation
may encode session ID whenever cookie is disabled on client
(I know at least one application server which does so).
See main(java.lang.String[])
to use as stand-alone application.
Inner classes inherited from class jp.ne.dti.lares.foozy.pagemixer.mixer.Filter |
jp.ne.dti.lares.foozy.pagemixer.mixer.Filter.Factory |
Constructor Summary |
CommonFilter()
Create filter consisting of filters related to common function. |
Method Summary |
static void |
main(java.lang.String[] args)
Invoke as stand-alone application. |
Methods inherited from class jp.ne.dti.lares.foozy.pagemixer.mixer.FilterPipeline |
add, add, add, addFactories, addFilters, consume, flush, push, push, push, pushFactories, pushFilters |
Methods inherited from class jp.ne.dti.lares.foozy.pagemixer.mixer.Filter |
addCleanup, clear, connectTo, getConsumer |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CommonFilter
public CommonFilter()
- Create filter consisting of filters related to common function.
main
public static void main(java.lang.String[] args)
- Invoke as stand-alone application.
USAGE:java pagemixer.filter.CommonFilter
InputFilename
- InputFilename:File name to parse
Please see description of
pagemixer.filter
about class path requirement to execute this class.