Stop the helper from active useexceptionException if an error occurs
getCacheKey: generate the key to be used to cache this requestparamrequest incoming HttpServletRequest objectreturnthe generated key for this requested cacheable resource.
HttpServletRequest
get timeout for the cached response.paramrequest incoming HttpServletRequest objectreturnthe timeout in seconds for the cached response; a return value of -1 means the response never expires and a value of -2 indicates helper cannot determine the timeout (container assigns default timeout)
initialize the helperparamcontext the web application context this helper belongs toexceptionException if a startup error occurs
isCacheable: is the response to given request cachebale?paramrequest incoming HttpServletRequest objectreturntrue if the response could be cached. or false if the results of this request must not be cached.
true
false
isRefreshNeeded: is the response to given request be refreshed?paramrequest incoming HttpServletRequest objectreturntrue if the response needs to be refreshed. or return false if the results of this request don't need to be refreshed.