public abstract class CacheHandlerInterceptor extends Object implements org.springframework.web.servlet.HandlerInterceptor
| Modifier and Type | Field and Description |
|---|---|
protected List<Handling> |
handlings |
static String |
PARAM_NAME
By what name the list of cache flush hints are registered in the request
|
| Constructor and Description |
|---|
CacheHandlerInterceptor() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addHandling(Handling handling)
Add a handling to this cache handler
|
void |
afterCompletion(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
Object handler,
Exception ex) |
void |
postHandle(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
Object handler,
org.springframework.web.servlet.ModelAndView modelAndView)
for each cache flush hint, all handlings are checked, and all handlings of similar type are invoked.
|
boolean |
preHandle(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
Object handler) |
public static final String PARAM_NAME
protected void addHandling(Handling handling)
handling - public void afterCompletion(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
Object handler,
Exception ex)
throws Exception
afterCompletion in interface org.springframework.web.servlet.HandlerInterceptorExceptionpublic final void postHandle(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
Object handler,
org.springframework.web.servlet.ModelAndView modelAndView)
throws Exception
postHandle in interface org.springframework.web.servlet.HandlerInterceptorExceptionMMBase 1.9-SNAPSHOT - ${javadoctimestamp}