info.magnolia.cms.filters
Class FilterDecorator
java.lang.Object
info.magnolia.cms.filters.AbstractMgnlFilter
info.magnolia.cms.filters.FilterDecorator
- All Implemented Interfaces:
- MgnlFilter, javax.servlet.Filter
public class FilterDecorator
- extends AbstractMgnlFilter
Used to decorate a normal (not magnolia) filter.
- Version:
- $Id$
- Author:
- philipp
Methods inherited from class info.magnolia.cms.filters.AbstractMgnlFilter |
acceptsEncoding, acceptsGzipEncoding, addAndVerifyHeader, addBypass, addMapping, bypasses, doFilter, getBypasses, getDispatching, getMapping, getMappings, getName, headerContains, 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 |
FilterDecorator
public FilterDecorator()
init
public void init(javax.servlet.FilterConfig filterConfig)
throws javax.servlet.ServletException
- Specified by:
init
in interface javax.servlet.Filter
- Overrides:
init
in class AbstractMgnlFilter
- Throws:
javax.servlet.ServletException
doFilter
public void doFilter(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
javax.servlet.FilterChain chain)
throws IOException,
javax.servlet.ServletException
- Specified by:
doFilter
in class AbstractMgnlFilter
- Throws:
IOException
javax.servlet.ServletException
destroy
public void destroy()
- Specified by:
destroy
in interface javax.servlet.Filter
- Overrides:
destroy
in class AbstractMgnlFilter
getConfig
public Map getConfig()
setConfig
public void setConfig(Map config)
getDecoratedFilter
public javax.servlet.Filter getDecoratedFilter()
setDecoratedFilter
public void setDecoratedFilter(javax.servlet.Filter decoratedFilter)
Copyright © 2003-2014 Magnolia International Ltd.. All Rights Reserved.