クラス 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 final ListSE<RequestMatcher>
getDelegateMatchers
(org.springframework.boot.actuate.autoconfigure.security.servlet.EndpointRequest.RequestMatcherFactory requestMatcherFactory, RequestMatcherProvider matcherProvider, SetSE<StringSE> paths, HttpMethod httpMethod) protected EndpointId
getEndpointId
(ObjectSE source) protected ListSE<RequestMatcher>
getLinksMatchers
(org.springframework.boot.actuate.autoconfigure.security.servlet.EndpointRequest.RequestMatcherFactory requestMatcherFactory, RequestMatcherProvider matcherProvider, StringSE basePath) protected RequestMatcherProvider
protected final boolean
hasWebServerNamespace
(ApplicationContext applicationContext, WebServerNamespace webServerNamespace) protected boolean
ignoreApplicationContext
(WebApplicationContext applicationContext) WebApplicationContext
を無視し、マッチングに使用しない場合に返します。protected boolean
ignoreApplicationContext
(WebApplicationContext applicationContext, ManagementPortType managementPortType) protected final void
initialized
(SupplierSE<WebApplicationContext> context) マッチャーが最初に呼び出されたときに項目を初期化するサブクラスによって実装できるメソッド。protected final boolean
matches
(HttpServletRequestEE request, SupplierSE<WebApplicationContext> context) 戦略によって実装されたルールが提供されたリクエストと一致するかどうかを決定します。toString()
protected StringSE
クラス org.springframework.boot.security.servlet.ApplicationContextRequestMatcher から継承されたメソッド
matches
クラス java.lang.ObjectSE から継承されたメソッド
clone, equalsSE, finalize, getClass, hashCode, notify, notifyAll, 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) toString
ignoreApplicationContext
クラスからコピーされた説明:ApplicationContextRequestMatcher
WebApplicationContext
を無視し、マッチングに使用しない場合に返します。このメソッドがtrue
を返す場合、コンテキストは使用されず、matches
メソッドはfalse
を返します。- オーバーライド:
- クラス
ApplicationContextRequestMatcher<WebApplicationContext>
のignoreApplicationContext
- パラメーター:
applicationContext
- 候補の Web アプリケーションコンテキスト- 戻り値:
- アプリケーションコンテキストを無視する必要がある場合
ignoreApplicationContext
protected boolean ignoreApplicationContext(WebApplicationContext applicationContext, ManagementPortType managementPortType) hasWebServerNamespace
protected final boolean hasWebServerNamespace(ApplicationContext applicationContext, WebServerNamespace webServerNamespace) 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
- 初期化されたコンテキストのサプライヤー (例外をスローすることがあります)- 戻り値:
- リクエストが一致した場合
getDelegateMatchers
protected final ListSE<RequestMatcher> getDelegateMatchers(org.springframework.boot.actuate.autoconfigure.security.servlet.EndpointRequest.RequestMatcherFactory requestMatcherFactory, RequestMatcherProvider matcherProvider, SetSE<StringSE> paths, HttpMethod httpMethod) getLinksMatchers
protected ListSE<RequestMatcher> getLinksMatchers(org.springframework.boot.actuate.autoconfigure.security.servlet.EndpointRequest.RequestMatcherFactory requestMatcherFactory, RequestMatcherProvider matcherProvider, StringSE basePath) getRequestMatcherProvider
toString
getEndpointId