com.ibm.websphere.servlet.cache
Class CacheableJspPage
- java.lang.Object
HttpJspBase
com.ibm.websphere.servlet.cache.CacheableJspPage
All implemented interfaces:
CacheableServlet, java.io.Serializable
- public abstract class CacheableJspPage
- extends HttpJspBase
- implements CacheableServlet
Constructor Summary
Constructor and Description |
---|
CacheableJspPage()
|
Method Summary
Modifier and Type | Method and Description |
---|---|
|
getId(HttpServletRequest request)
This executes the algorithm to compute the cache id.
|
|
getSharingPolicy(HttpServletRequest request)
This returns the sharing policy for this cache entry.
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail
CacheableJspPage
- public CacheableJspPage()
Method Detail
getId
- public java.lang.String getId(HttpServletRequest request)
This executes the algorithm to compute the cache id.
Specified by:
getId
in interface CacheableServlet
Parameters:
request
- The HTTP request object. Returns:
The cache id. A null indicates that the JSP should
not be cached.
getSharingPolicy
- public int getSharingPolicy(HttpServletRequest request)
This returns the sharing policy for this cache entry.
See com.ibm.websphere.servlet.cache.EntryInfo for possible
values.
Specified by:
getSharingPolicy
in interface CacheableServlet
Parameters:
request
- The HTTP request object. Returns:
The sharing policy.