Class InterceptorRegistry
java.lang.Object
org.springframework.web.servlet.config.annotation.InterceptorRegistry
com.foreach.across.modules.web.mvc.InterceptorRegistry
public class InterceptorRegistry
extends org.springframework.web.servlet.config.annotation.InterceptorRegistry
Replacement of
InterceptorRegistry
that supports
adding an interceptor to the front of the list, keeping existing support for
MappedInterceptor
intact.-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.web.servlet.config.annotation.InterceptorRegistration
addFirst
(org.springframework.web.context.request.WebRequestInterceptor interceptor) org.springframework.web.servlet.config.annotation.InterceptorRegistration
addFirst
(org.springframework.web.servlet.HandlerInterceptor interceptor) org.springframework.web.servlet.config.annotation.InterceptorRegistration
addInterceptor
(org.springframework.web.servlet.HandlerInterceptor interceptor) org.springframework.web.servlet.config.annotation.InterceptorRegistration
addWebRequestInterceptor
(org.springframework.web.context.request.WebRequestInterceptor interceptor)
-
Constructor Details
-
InterceptorRegistry
public InterceptorRegistry()
-
-
Method Details
-
addFirst
public org.springframework.web.servlet.config.annotation.InterceptorRegistration addFirst(org.springframework.web.servlet.HandlerInterceptor interceptor) -
addFirst
public org.springframework.web.servlet.config.annotation.InterceptorRegistration addFirst(org.springframework.web.context.request.WebRequestInterceptor interceptor) -
addInterceptor
public org.springframework.web.servlet.config.annotation.InterceptorRegistration addInterceptor(org.springframework.web.servlet.HandlerInterceptor interceptor) - Overrides:
addInterceptor
in classorg.springframework.web.servlet.config.annotation.InterceptorRegistry
-
addWebRequestInterceptor
public org.springframework.web.servlet.config.annotation.InterceptorRegistration addWebRequestInterceptor(org.springframework.web.context.request.WebRequestInterceptor interceptor) - Overrides:
addWebRequestInterceptor
in classorg.springframework.web.servlet.config.annotation.InterceptorRegistry
-
getInterceptors
- Overrides:
getInterceptors
in classorg.springframework.web.servlet.config.annotation.InterceptorRegistry
-