public class SessionDebugger extends AbstractMgnlFilter implements javax.servlet.http.HttpSessionListener, javax.servlet.http.HttpSessionAttributeListener
Constructor and Description |
---|
SessionDebugger() |
Modifier and Type | Method and Description |
---|---|
void |
attributeAdded(javax.servlet.http.HttpSessionBindingEvent event) |
void |
attributeRemoved(javax.servlet.http.HttpSessionBindingEvent event) |
void |
attributeReplaced(javax.servlet.http.HttpSessionBindingEvent event) |
void |
doFilter(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
javax.servlet.FilterChain chain) |
protected void |
dumpSession(javax.servlet.http.HttpSession session,
StringBuffer sb) |
protected void |
dumpSessionBindingEvent(javax.servlet.http.HttpSessionBindingEvent event,
StringBuffer sb) |
protected void |
dumpStacktrace(StringBuffer sb) |
protected void |
logSessionEvent(javax.servlet.http.HttpSessionEvent event,
String s) |
void |
sessionCreated(javax.servlet.http.HttpSessionEvent se) |
void |
sessionDestroyed(javax.servlet.http.HttpSessionEvent se) |
acceptsEncoding, acceptsGzipEncoding, addAndVerifyHeader, addBypass, addMapping, bypasses, destroy, doFilter, getBypasses, getDispatching, getMapping, getMappings, getName, headerContains, init, isEnabled, mapsTo, matches, matchesDispatching, setBypasses, setDispatching, setEnabled, setMappings, setName
public void doFilter(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, javax.servlet.FilterChain chain) throws IOException, javax.servlet.ServletException
doFilter
in class AbstractMgnlFilter
IOException
javax.servlet.ServletException
public void sessionCreated(javax.servlet.http.HttpSessionEvent se)
sessionCreated
in interface javax.servlet.http.HttpSessionListener
public void sessionDestroyed(javax.servlet.http.HttpSessionEvent se)
sessionDestroyed
in interface javax.servlet.http.HttpSessionListener
public void attributeAdded(javax.servlet.http.HttpSessionBindingEvent event)
attributeAdded
in interface javax.servlet.http.HttpSessionAttributeListener
public void attributeRemoved(javax.servlet.http.HttpSessionBindingEvent event)
attributeRemoved
in interface javax.servlet.http.HttpSessionAttributeListener
public void attributeReplaced(javax.servlet.http.HttpSessionBindingEvent event)
attributeReplaced
in interface javax.servlet.http.HttpSessionAttributeListener
protected void logSessionEvent(javax.servlet.http.HttpSessionEvent event, String s)
protected void dumpStacktrace(StringBuffer sb)
protected void dumpSession(javax.servlet.http.HttpSession session, StringBuffer sb)
protected void dumpSessionBindingEvent(javax.servlet.http.HttpSessionBindingEvent event, StringBuffer sb)
Copyright © 2003–2018 Magnolia International Ltd.. All rights reserved.