Package com.totvs.tjf.metrics.config
Class WebContextSetterInterceptor
java.lang.Object
com.totvs.tjf.metrics.config.WebContextSetterInterceptor
- All Implemented Interfaces:
org.springframework.web.context.request.WebRequestInterceptor
@Component
public class WebContextSetterInterceptor
extends Object
implements org.springframework.web.context.request.WebRequestInterceptor
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
afterCompletion
(org.springframework.web.context.request.WebRequest request, 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)
-
Constructor Details
-
WebContextSetterInterceptor
public WebContextSetterInterceptor()
-
-
Method Details
-
preHandle
- Specified by:
preHandle
in interfaceorg.springframework.web.context.request.WebRequestInterceptor
- Throws:
Exception
-
postHandle
public void postHandle(org.springframework.web.context.request.WebRequest request, org.springframework.ui.ModelMap model) throws Exception - Specified by:
postHandle
in interfaceorg.springframework.web.context.request.WebRequestInterceptor
- Throws:
Exception
-
afterCompletion
public void afterCompletion(org.springframework.web.context.request.WebRequest request, Exception ex) throws Exception - Specified by:
afterCompletion
in interfaceorg.springframework.web.context.request.WebRequestInterceptor
- Throws:
Exception
-