public class InterceptorRegistry extends ObjectSE
コンストラクターと説明 |
---|
InterceptorRegistry() |
修飾子と型 | メソッドと説明 |
---|---|
InterceptorRegistration | addInterceptor(HandlerInterceptor interceptor) 提供された HandlerInterceptor を追加します。 |
InterceptorRegistration | addWebRequestInterceptor(WebRequestInterceptor interceptor) 提供された WebRequestInterceptor を追加します。 |
protected ListSE<ObjectSE> | getInterceptors() 登録されているすべてのインターセプターを返します。 |
cloneSE, equalsSE, finalizeSE, getClassSE, hashCodeSE, notifySE, notifyAllSE, toStringSE, waitSE, waitSE, waitSE
public InterceptorRegistration addInterceptor(HandlerInterceptor interceptor)
HandlerInterceptor
を追加します。interceptor
- 追加するインターセプター InterceptorRegistration
。オプションで登録済みインターセプターをさらに構成し、たとえば適用する URL パターンを追加できます。public InterceptorRegistration addWebRequestInterceptor(WebRequestInterceptor interceptor)
WebRequestInterceptor
を追加します。interceptor
- 追加するインターセプター InterceptorRegistration
。オプションで登録済みインターセプターをさらに構成し、たとえば適用する URL パターンを追加できます。