PageMixer demonstration with Servlet

pagemixer.filter
Class ErrorURIInsetFilter

java.lang.Object
  |
  +--jp.ne.dti.lares.foozy.pagemixer.mixer.Filter
        |
        +--jp.ne.dti.lares.foozy.pagemixer.mixer.SequenceEditFilter
              |
              +--jp.ne.dti.lares.foozy.pagemixer.mixer.SequenceDataInsetFilter
                    |
                    +--jp.ne.dti.lares.foozy.pagemixer.mixer.SequenceDataInsetFilter.Inside
                          |
                          +--jp.ne.dti.lares.foozy.pagemixer.mixer.SequenceDataInsetFilter.HTMLSafeTextInside
                                |
                                +--pagemixer.filter.ErrorURIInsetFilter
All Implemented Interfaces:
jp.ne.dti.lares.foozy.pagemixer.mixer.Consumer

public class ErrorURIInsetFilter
extends jp.ne.dti.lares.foozy.pagemixer.mixer.SequenceDataInsetFilter.HTMLSafeTextInside

Inset error URI from HttpServletRequest attribute into inside of target token sequence as HTML safe text.

This uses RequestKey#ERROR_REQUEST_URI of jp.ne.dti.lares.foozy.pagemixer.servlet as the key to find data out in consumer context. And it causes to get error URI string in Servlet environment.

Since:
PageMIxer 3.1

Inner classes inherited from class jp.ne.dti.lares.foozy.pagemixer.mixer.SequenceDataInsetFilter
jp.ne.dti.lares.foozy.pagemixer.mixer.SequenceDataInsetFilter.HTMLSafeTextInside, jp.ne.dti.lares.foozy.pagemixer.mixer.SequenceDataInsetFilter.HTMLSafeTextWhole, jp.ne.dti.lares.foozy.pagemixer.mixer.SequenceDataInsetFilter.Inside, jp.ne.dti.lares.foozy.pagemixer.mixer.SequenceDataInsetFilter.Whole
 
Inner classes inherited from class jp.ne.dti.lares.foozy.pagemixer.mixer.Filter
jp.ne.dti.lares.foozy.pagemixer.mixer.Filter.Factory
 
Constructor Summary
ErrorURIInsetFilter(jp.ne.dti.lares.foozy.pagemixer.mixer.SequenceWatcher watcher)
          Constructor.
 
Method Summary
protected  java.lang.String getText(java.lang.Object data)
           
 
Methods inherited from class jp.ne.dti.lares.foozy.pagemixer.mixer.SequenceDataInsetFilter.HTMLSafeTextInside
insetData
 
Methods inherited from class jp.ne.dti.lares.foozy.pagemixer.mixer.SequenceDataInsetFilter.Inside
onFirst, onLast
 
Methods inherited from class jp.ne.dti.lares.foozy.pagemixer.mixer.SequenceDataInsetFilter
getData
 
Methods inherited from class jp.ne.dti.lares.foozy.pagemixer.mixer.SequenceEditFilter
afterLast, beforeFirst, consume, flush, onInside
 
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
 

Constructor Detail

ErrorURIInsetFilter

public ErrorURIInsetFilter(jp.ne.dti.lares.foozy.pagemixer.mixer.SequenceWatcher watcher)
Constructor.
Parameters:
watcher - to find target token sequence out
Method Detail

getText

protected java.lang.String getText(java.lang.Object data)
Overrides:
getText in class jp.ne.dti.lares.foozy.pagemixer.mixer.SequenceDataInsetFilter.HTMLSafeTextInside

PageMixer demonstration with Servlet