|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object ro.isdc.wro.http.support.AbstractProcessorsFilter
public abstract class AbstractProcessorsFilter
Allows configuration of a list of processors to be applied on the
Constructor Summary | |
---|---|
AbstractProcessorsFilter()
|
Method Summary | |
---|---|
void |
destroy()
|
void |
doFilter(javax.servlet.ServletRequest req,
javax.servlet.ServletResponse res,
javax.servlet.FilterChain chain)
|
protected void |
doInit(javax.servlet.FilterConfig config)
Allows custom initialization. |
protected abstract List<ResourcePreProcessor> |
getProcessorsList()
|
void |
init(javax.servlet.FilterConfig config)
|
protected void |
onRuntimeException(RuntimeException e,
javax.servlet.http.HttpServletResponse response,
javax.servlet.FilterChain chain)
Invoked when a RuntimeException is thrown. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AbstractProcessorsFilter()
Method Detail |
---|
public final void init(javax.servlet.FilterConfig config) throws javax.servlet.ServletException
init
in interface javax.servlet.Filter
javax.servlet.ServletException
protected void doInit(javax.servlet.FilterConfig config)
public void doFilter(javax.servlet.ServletRequest req, javax.servlet.ServletResponse res, javax.servlet.FilterChain chain) throws IOException, javax.servlet.ServletException
doFilter
in interface javax.servlet.Filter
IOException
javax.servlet.ServletException
protected void onRuntimeException(RuntimeException e, javax.servlet.http.HttpServletResponse response, javax.servlet.FilterChain chain)
RuntimeException
is thrown. Allows custom exception handling. The default implementation
redirects to 404 for a specific WroRuntimeException
exception when in DEPLOYMENT mode.
e
- RuntimeException
thrown during request processing.protected abstract List<ResourcePreProcessor> getProcessorsList()
public void destroy()
destroy
in interface javax.servlet.Filter
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |