Package com.composum.nodes.debugutil
Class RenderInfoLoggingFilter
- java.lang.Object
-
- com.composum.nodes.debugutil.RenderInfoLoggingFilter
-
- All Implemented Interfaces:
javax.servlet.Filter
public class RenderInfoLoggingFilter extends Object implements javax.servlet.Filter
As an alternative tocom.composum.pages.commons.taglib.IncludeTag#debugComment(boolean)that works on sling:include, too: writes out a HTML comment with the rendered resource and the resource type (since that could be possibly overridden).
-
-
Constructor Summary
Constructors Constructor Description RenderInfoLoggingFilter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidactivate(com.composum.nodes.debugutil.RenderInfoLoggingFilter.Config config)voiddeactivate()voiddestroy()voiddoFilter(javax.servlet.ServletRequest rawRequest, javax.servlet.ServletResponse rawResponse, javax.servlet.FilterChain chain)voidinit(javax.servlet.FilterConfig filterConfig)
-
-
-
Method Detail
-
doFilter
public void doFilter(javax.servlet.ServletRequest rawRequest, javax.servlet.ServletResponse rawResponse, javax.servlet.FilterChain chain) throws IOException, javax.servlet.ServletException- Specified by:
doFilterin interfacejavax.servlet.Filter- Throws:
IOExceptionjavax.servlet.ServletException
-
init
public void init(javax.servlet.FilterConfig filterConfig) throws javax.servlet.ServletException- Specified by:
initin interfacejavax.servlet.Filter- Throws:
javax.servlet.ServletException
-
destroy
public void destroy()
- Specified by:
destroyin interfacejavax.servlet.Filter
-
activate
public void activate(com.composum.nodes.debugutil.RenderInfoLoggingFilter.Config config)
-
deactivate
public void deactivate()
-
-