public class CacheRequestListener extends Object implements javax.servlet.ServletRequestListener
| Constructor and Description |
|---|
CacheRequestListener()
No-arg constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
requestDestroyed(javax.servlet.ServletRequestEvent sre)
Receives notification that the request is about to go out of scope
of the web application, and clears the request's cache of JSP tag
body invocations (if present).
|
void |
requestInitialized(javax.servlet.ServletRequestEvent sre)
Receives notification that the request is about to enter the scope
of the web application, and adds newly created cache for JSP tag
body invocations as a request attribute.
|
public void requestInitialized(javax.servlet.ServletRequestEvent sre)
requestInitialized in interface javax.servlet.ServletRequestListenersre - the notification eventpublic void requestDestroyed(javax.servlet.ServletRequestEvent sre)
requestDestroyed in interface javax.servlet.ServletRequestListenersre - the notification eventCopyright © 2017. All rights reserved.