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
Nested ClassesModifier and TypeClassDescriptionstatic class -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.web.servlet.config.annotation.InterceptorRegistrationaddFirst(org.springframework.web.context.request.WebRequestInterceptor interceptor) org.springframework.web.servlet.config.annotation.InterceptorRegistrationaddFirst(org.springframework.web.servlet.HandlerInterceptor interceptor) org.springframework.web.servlet.config.annotation.InterceptorRegistrationaddInterceptor(org.springframework.web.servlet.HandlerInterceptor interceptor) org.springframework.web.servlet.config.annotation.InterceptorRegistrationaddWebRequestInterceptor(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:
addInterceptorin 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:
addWebRequestInterceptorin classorg.springframework.web.servlet.config.annotation.InterceptorRegistry
-
getInterceptors
- Overrides:
getInterceptorsin classorg.springframework.web.servlet.config.annotation.InterceptorRegistry
-