|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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 |
public java.lang.String getId(javax.servlet.http.HttpServletRequest request)
request
- The HTTP request object.
public int getSharingPolicy(javax.servlet.http.HttpServletRequest request)
request
- The HTTP request object.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |