|
IBM WebSphere Application ServerTM Release 8 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CacheableServlet
This interface identifies cacheable servlets to the fragment cache. The cache will call the getId() and getSharingPolicy() methods to obtain the caching metadata for a given execution of the servlet.
Method Summary | |
---|---|
java.lang.String |
getId(javax.servlet.http.HttpServletRequest request)
This executes the algorithm to compute the cache id. |
int |
getSharingPolicy(javax.servlet.http.HttpServletRequest request)
This returns the sharing policy for this cache entry. |
Method Detail |
---|
java.lang.String getId(javax.servlet.http.HttpServletRequest request)
request
- The HTTP request object.
int getSharingPolicy(javax.servlet.http.HttpServletRequest request)
request
- The HTTP request object.
|
IBM WebSphere Application ServerTM Release 8 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |