public class BroadleafRequestInterceptor
extends java.lang.Object
implements org.springframework.web.context.request.WebRequestInterceptor
Interceptor responsible for setting up the BroadleafRequestContext for the life of the request. This interceptor
should be the very first one in the list, as other interceptors might also use BroadleafRequestContext.
Note that in Servlet applications you should be using the BroadleafRequestFilter.
BroadleafRequestProcessor},
BroadleafRequestContext}| Modifier and Type | Field and Description |
|---|---|
protected BroadleafRequestProcessor |
requestProcessor |
| Constructor and Description |
|---|
BroadleafRequestInterceptor() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterCompletion(org.springframework.web.context.request.WebRequest request,
java.lang.Exception ex) |
void |
postHandle(org.springframework.web.context.request.WebRequest request,
org.springframework.ui.ModelMap model) |
void |
preHandle(org.springframework.web.context.request.WebRequest request) |
protected BroadleafRequestProcessor requestProcessor
public void preHandle(org.springframework.web.context.request.WebRequest request)
throws java.lang.Exception
preHandle in interface org.springframework.web.context.request.WebRequestInterceptorjava.lang.Exceptionpublic void postHandle(org.springframework.web.context.request.WebRequest request,
org.springframework.ui.ModelMap model)
throws java.lang.Exception
postHandle in interface org.springframework.web.context.request.WebRequestInterceptorjava.lang.Exceptionpublic void afterCompletion(org.springframework.web.context.request.WebRequest request,
java.lang.Exception ex)
throws java.lang.Exception
afterCompletion in interface org.springframework.web.context.request.WebRequestInterceptorjava.lang.ExceptionCopyright © 2018. All Rights Reserved.