クラス 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 RequestMatchercreateDelegate(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 RequestMatcherProviderprotected booleanignoreApplicationContext(WebApplicationContext applicationContext) WebApplicationContextを無視し、マッチングに使用しない場合に返します。protected final voidinitialized(SupplierSE<WebApplicationContext> context) マッチャーが最初に呼び出されたときに項目を初期化するサブクラスによって実装できるメソッド。protected final booleanmatches(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
クラスからコピーされた説明:ApplicationContextRequestMatcherWebApplicationContextを無視し、マッチングに使用しない場合に返します。このメソッドが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