クラス EndpointRequest.LinksRequestMatcher
java.lang.ObjectSE
org.springframework.boot.security.servlet.ApplicationContextRequestMatcher<WebApplicationContext>
org.springframework.boot.actuate.autoconfigure.security.servlet.EndpointRequest.LinksRequestMatcher
- 実装されたすべてのインターフェース:
RequestMatcher
- 含まれているクラス:
- EndpointRequest
public static final class EndpointRequest.LinksRequestMatcher
extends ApplicationContextRequestMatcher<WebApplicationContext>
リンクエンドポイントとの照合に使用されるリクエストマッチャー。
ネストされたクラスのサマリー
インターフェース org.springframework.security.web.util.matcher.RequestMatcher から継承されたネストクラス / インターフェース
RequestMatcher.MatchResult
コンストラクターのサマリー
メソッドのサマリー
修飾子と型メソッド説明protected RequestMatcher
createDelegate
(WebApplicationContext context, org.springframework.boot.actuate.autoconfigure.security.servlet.EndpointRequest.RequestMatcherFactory requestMatcherFactory) protected ListSE<RequestMatcher>
getLinksMatchers
(org.springframework.boot.actuate.autoconfigure.security.servlet.EndpointRequest.RequestMatcherFactory requestMatcherFactory, RequestMatcherProvider matcherProvider, StringSE basePath) protected RequestMatcherProvider
protected boolean
ignoreApplicationContext
(WebApplicationContext applicationContext) WebApplicationContext
を無視し、マッチングに使用しない場合に返します。protected final void
initialized
(SupplierSE<WebApplicationContext> context) マッチャーが最初に呼び出されたときに項目を初期化するサブクラスによって実装できるメソッド。protected final boolean
matches
(HttpServletRequestEE request, SupplierSE<WebApplicationContext> context) 戦略によって実装されたルールが提供されたリクエストと一致するかどうかを決定します。クラス org.springframework.boot.security.servlet.ApplicationContextRequestMatcher から継承されたメソッド
matches
クラス java.lang.ObjectSE から継承されたメソッド
clone, equalsSE, finalize, getClass, hashCode, notify, notifyAll, toString, wait, waitSE, waitSE
インターフェース org.springframework.security.web.util.matcher.RequestMatcher から継承されたメソッド
matcher
コンストラクターの詳細
LinksRequestMatcher
public LinksRequestMatcher()
メソッドの詳細
createDelegate
protected RequestMatcher createDelegate(WebApplicationContext context, org.springframework.boot.actuate.autoconfigure.security.servlet.EndpointRequest.RequestMatcherFactory requestMatcherFactory) ignoreApplicationContext
クラスからコピーされた説明:ApplicationContextRequestMatcher
WebApplicationContext
を無視し、マッチングに使用しない場合に返します。このメソッドがtrue
を返す場合、コンテキストは使用されず、matches
メソッドはfalse
を返します。- オーバーライド:
- クラス
ApplicationContextRequestMatcher<WebApplicationContext>
のignoreApplicationContext
- パラメーター:
applicationContext
- 候補の Web アプリケーションコンテキスト- 戻り値:
- アプリケーションコンテキストを無視する必要がある場合
initialized
クラスからコピーされた説明:ApplicationContextRequestMatcher
マッチャーが最初に呼び出されたときに項目を初期化するサブクラスによって実装できるメソッド。このメソッドは、ApplicationContextRequestMatcher.ignoreApplicationContext(WebApplicationContext)
がfalse
を返した場合にのみ 1 回だけ呼び出されます。指定されたコンテキストは、マッチャーに送信された最初のリクエストに基づくことに注意してください。- オーバーライド:
- クラス
ApplicationContextRequestMatcher<WebApplicationContext>
のinitialized
- パラメーター:
context
- 初期化されたコンテキストのサプライヤー (例外をスローすることがあります)- 関連事項:
matches
protected final boolean matches(HttpServletRequestEE request, SupplierSE<WebApplicationContext> context) クラスからコピーされた説明:ApplicationContextRequestMatcher
戦略によって実装されたルールが提供されたリクエストと一致するかどうかを決定します。- 次で指定:
- クラス
ApplicationContextRequestMatcher<WebApplicationContext>
のmatches
- パラメーター:
request
- ソースリクエストcontext
- 初期化されたコンテキストのサプライヤー (例外をスローすることがあります)- 戻り値:
- リクエストが一致した場合
getLinksMatchers
protected ListSE<RequestMatcher> getLinksMatchers(org.springframework.boot.actuate.autoconfigure.security.servlet.EndpointRequest.RequestMatcherFactory requestMatcherFactory, RequestMatcherProvider matcherProvider, StringSE basePath) getRequestMatcherProvider