com.day.cq.wcm.core.impl
Class WCMDebugFilter

java.lang.Object
  extended by com.day.cq.wcm.core.impl.WCMDebugFilter
All Implemented Interfaces:
javax.servlet.Filter

public class WCMDebugFilter
extends Object
implements javax.servlet.Filter

Implements a filter that decorates the request with some include information.


Field Summary
static String DEBUG_PARAM_NAME
          name of the debug request parameter
static String ENABLED
           
 
Constructor Summary
WCMDebugFilter()
           
 
Method Summary
protected  void activate(org.osgi.service.component.ComponentContext context)
          Handle OSGI activation
 void destroy()
           
 void doFilter(javax.servlet.ServletRequest request, javax.servlet.ServletResponse response, javax.servlet.FilterChain chain)
           
 void init(javax.servlet.FilterConfig filterConfig)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEBUG_PARAM_NAME

public static final String DEBUG_PARAM_NAME
name of the debug request parameter

See Also:
Constant Field Values

ENABLED

public static final String ENABLED
See Also:
Constant Field Values
Constructor Detail

WCMDebugFilter

public WCMDebugFilter()
Method Detail

doFilter

public void doFilter(javax.servlet.ServletRequest request,
                     javax.servlet.ServletResponse response,
                     javax.servlet.FilterChain chain)
              throws IOException,
                     javax.servlet.ServletException
Specified by:
doFilter in interface javax.servlet.Filter
Throws:
IOException
javax.servlet.ServletException

init

public void init(javax.servlet.FilterConfig filterConfig)
          throws javax.servlet.ServletException
Specified by:
init in interface javax.servlet.Filter
Throws:
javax.servlet.ServletException

destroy

public void destroy()
Specified by:
destroy in interface javax.servlet.Filter

activate

protected void activate(org.osgi.service.component.ComponentContext context)
Handle OSGI activation

Parameters:
context - osgi component context


Copyright © 2008 Day Management AG. All Rights Reserved.