public class InterceptorRegistration extends ObjectSE
MappedInterceptor
の作成を支援します。コンストラクターと説明 |
---|
InterceptorRegistration(HandlerInterceptor interceptor) InterceptorRegistration インスタンスを作成します。 |
修飾子と型 | メソッドと説明 |
---|---|
InterceptorRegistration | addPathPatterns(ListSE<StringSE> patterns) addPathPatterns(String...) のリストベースのバリアント。 |
InterceptorRegistration | addPathPatterns(StringSE... patterns) 登録されたインターセプターが適用される URL パターンを追加します。 |
InterceptorRegistration | excludePathPatterns(ListSE<StringSE> patterns) excludePathPatterns(String...) のリストベースのバリアント。 |
InterceptorRegistration | excludePathPatterns(StringSE... patterns) 登録済みインターセプターを適用しない URL パターンを追加します。 |
protected ObjectSE | getInterceptor() 基礎となるインターセプターを構築します。 |
protected int | getOrder() 使用するオーダー位置を返します。 |
InterceptorRegistration | order(int order) 使用するオーダー位置を指定します。 |
InterceptorRegistration | pathMatcher(PathMatcher pathMatcher) このインターセプターで使用する PathMatcher 実装。 |
cloneSE, equalsSE, finalizeSE, getClassSE, hashCodeSE, notifySE, notifyAllSE, toStringSE, waitSE, waitSE, waitSE
public InterceptorRegistration(HandlerInterceptor interceptor)
InterceptorRegistration
インスタンスを作成します。public InterceptorRegistration addPathPatterns(StringSE... patterns)
public InterceptorRegistration addPathPatterns(ListSE<StringSE> patterns)
addPathPatterns(String...)
のリストベースのバリアント。public InterceptorRegistration excludePathPatterns(StringSE... patterns)
public InterceptorRegistration excludePathPatterns(ListSE<StringSE> patterns)
excludePathPatterns(String...)
のリストベースのバリアント。public InterceptorRegistration pathMatcher(PathMatcher pathMatcher)
public InterceptorRegistration order(int order)
protected int getOrder()
protected ObjectSE getInterceptor()
MappedInterceptor
です。それ以外の場合は HandlerInterceptor
。