public class CacheSessionListener extends Object implements javax.servlet.http.HttpSessionListener
| Constructor and Description |
|---|
CacheSessionListener()
No-arg constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
sessionCreated(javax.servlet.http.HttpSessionEvent hse)
Receives notification that a session was created, and adds newly
created cache for JSP tag body invocations as a session attribute.
|
void |
sessionDestroyed(javax.servlet.http.HttpSessionEvent hse)
Receives notification that a session is about to be invalidated, and
clears the session's cache of JSP tag body invocations (if present).
|
public void sessionCreated(javax.servlet.http.HttpSessionEvent hse)
sessionCreated in interface javax.servlet.http.HttpSessionListenerhse - the notification eventpublic void sessionDestroyed(javax.servlet.http.HttpSessionEvent hse)
sessionDestroyed in interface javax.servlet.http.HttpSessionListenerhse - the notification eventCopyright © 2019. All rights reserved.