info.magnolia.debug
Class SessionDebugger
java.lang.Object
info.magnolia.cms.filters.AbstractMgnlFilter
info.magnolia.debug.SessionDebugger
- All Implemented Interfaces:
- MgnlFilter, EventListener, javax.servlet.Filter, javax.servlet.http.HttpSessionAttributeListener, javax.servlet.http.HttpSessionListener
public class SessionDebugger
- extends AbstractMgnlFilter
- implements javax.servlet.http.HttpSessionListener, javax.servlet.http.HttpSessionAttributeListener
A Filter and Listener that can help debugging session issues.
- Version:
- $Revision: $ ($Author: $)
- Author:
- gjoseph
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 |
SessionDebugger
public SessionDebugger()
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
sessionCreated
public void sessionCreated(javax.servlet.http.HttpSessionEvent se)
- Specified by:
sessionCreated
in interface javax.servlet.http.HttpSessionListener
sessionDestroyed
public void sessionDestroyed(javax.servlet.http.HttpSessionEvent se)
- Specified by:
sessionDestroyed
in interface javax.servlet.http.HttpSessionListener
attributeAdded
public void attributeAdded(javax.servlet.http.HttpSessionBindingEvent event)
- Specified by:
attributeAdded
in interface javax.servlet.http.HttpSessionAttributeListener
attributeRemoved
public void attributeRemoved(javax.servlet.http.HttpSessionBindingEvent event)
- Specified by:
attributeRemoved
in interface javax.servlet.http.HttpSessionAttributeListener
attributeReplaced
public void attributeReplaced(javax.servlet.http.HttpSessionBindingEvent event)
- Specified by:
attributeReplaced
in interface javax.servlet.http.HttpSessionAttributeListener
logSessionEvent
protected void logSessionEvent(javax.servlet.http.HttpSessionEvent event,
String s)
dumpStacktrace
protected void dumpStacktrace(StringBuffer sb)
dumpSession
protected void dumpSession(javax.servlet.http.HttpSession session,
StringBuffer sb)
dumpSessionBindingEvent
protected void dumpSessionBindingEvent(javax.servlet.http.HttpSessionBindingEvent event,
StringBuffer sb)
Copyright © 2003-2013 Magnolia International Ltd.. All Rights Reserved.