|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object info.magnolia.cms.filters.AbstractMgnlFilter info.magnolia.module.samples.filters.SampleFilter
public class SampleFilter
This is a very simple filter bootstrapped at setup using the file mgnl-bootstrap/samples/config.server.filters.sample.xml
(server/filters/sample)
.
it defines bypass /.magnolia/ meaning the filter will only be executed for non admin pages
Constructor Summary | |
---|---|
SampleFilter()
|
Method Summary | |
---|---|
void |
doFilter(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
javax.servlet.FilterChain chain)
|
Methods inherited from class info.magnolia.cms.filters.AbstractMgnlFilter |
---|
acceptsEncoding, acceptsGzipEncoding, addAndVerifyHeader, addBypass, addMapping, bypasses, destroy, doFilter, getBypasses, getDispatching, getMapping, getMappings, getName, headerContains, init, isEnabled, mapsTo, matches, matchesDispatching, setDispatching, setEnabled, setName |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SampleFilter()
Method Detail |
---|
public void doFilter(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res, javax.servlet.FilterChain chain) throws java.io.IOException, javax.servlet.ServletException
doFilter
in class AbstractMgnlFilter
java.io.IOException
javax.servlet.ServletException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |