|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.springframework.web.servlet.config.annotation.InterceptorRegistry
public class InterceptorRegistry
Stores and provides access to a list of interceptors. For each interceptor you can optionally specify one or more URL patterns it applies to.
| Constructor Summary | |
|---|---|
InterceptorRegistry()
|
|
| Method Summary | |
|---|---|
InterceptorRegistration |
addInterceptor(HandlerInterceptor interceptor)
Adds the provided HandlerInterceptor. |
InterceptorRegistration |
addWebRequestInterceptor(WebRequestInterceptor interceptor)
Adds the provided WebRequestInterceptor. |
protected List<Object> |
getInterceptors()
Returns all registered interceptors. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public InterceptorRegistry()
| Method Detail |
|---|
public InterceptorRegistration addInterceptor(HandlerInterceptor interceptor)
HandlerInterceptor.
interceptor - the interceptor to add
InterceptorRegistration that allows you optionally configure the
registered interceptor further for example adding URL patterns it should apply to.public InterceptorRegistration addWebRequestInterceptor(WebRequestInterceptor interceptor)
WebRequestInterceptor.
interceptor - the interceptor to add
InterceptorRegistration that allows you optionally configure the
registered interceptor further for example adding URL patterns it should apply to.protected List<Object> getInterceptors()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||