public static final class StaticResourceRequest.StaticResourceRequestMatcher extends ApplicationContextRequestMatcher<DispatcherServletPath>
Locations と照合するために使用されるリクエストマッチャー。| 修飾子と型 | メソッドと説明 |
|---|---|
StaticResourceRequest.StaticResourceRequestMatcher | excluding(SetSE<StaticResourceLocation> locations) これに基づいて新しい StaticResourceRequest.StaticResourceRequestMatcher を返しますが、指定された場所は除きます。 |
StaticResourceRequest.StaticResourceRequestMatcher | excluding(StaticResourceLocation first, StaticResourceLocation... rest) これに基づいて新しい StaticResourceRequest.StaticResourceRequestMatcher を返しますが、指定された場所は除きます。 |
protected boolean | ignoreApplicationContext(org.springframework.web.context.WebApplicationContext applicationContext)WebApplicationContext を無視してマッチングに使用しない場合に返します。 |
protected void | initialized(SupplierSE<DispatcherServletPath> dispatcherServletPath) マッチャーが最初に呼び出されたときに項目を初期化するサブクラスによって実装できるメソッド。 |
protected boolean | matches(HttpServletRequestEE request, SupplierSE<DispatcherServletPath> context) 戦略によって実装されたルールが提供されたリクエストと一致するかどうかを決定します。 |
matchescloneSE, equalsSE, finalizeSE, getClassSE, hashCodeSE, notifySE, notifyAllSE, toStringSE, waitSE, waitSE, waitSEpublic StaticResourceRequest.StaticResourceRequestMatcher excluding(StaticResourceLocation first, StaticResourceLocation... rest)
StaticResourceRequest.StaticResourceRequestMatcher を返しますが、指定された場所は除きます。first - 除外する最初の場所 rest - 除外する追加の場所 StaticResourceRequest.StaticResourceRequestMatcherpublic StaticResourceRequest.StaticResourceRequestMatcher excluding(SetSE<StaticResourceLocation> locations)
StaticResourceRequest.StaticResourceRequestMatcher を返しますが、指定された場所は除きます。locations - 除外する場所 StaticResourceRequest.StaticResourceRequestMatcherprotected void initialized(SupplierSE<DispatcherServletPath> dispatcherServletPath)
ApplicationContextRequestMatcherApplicationContextRequestMatcher.ignoreApplicationContext(WebApplicationContext) が false を返した場合にのみ 1 回だけ呼び出されます。指定されたコンテキストは、マッチャーに送信された最初のリクエストに基づくことに注意してください。ApplicationContextRequestMatcher<DispatcherServletPath> の initialized dispatcherServletPath - 初期化されたコンテキストのサプライヤー (例外をスローすることがあります)ApplicationContextRequestMatcher.ignoreApplicationContext(WebApplicationContext)protected boolean ignoreApplicationContext(org.springframework.web.context.WebApplicationContext applicationContext)
ApplicationContextRequestMatcherWebApplicationContext を無視してマッチングに使用しない場合に返します。このメソッドが true を返す場合、コンテキストは使用されず、matches メソッドは false を返します。ApplicationContextRequestMatcher<DispatcherServletPath> の ignoreApplicationContext applicationContext - 候補の Web アプリケーションコンテキスト protected boolean matches(HttpServletRequestEE request, SupplierSE<DispatcherServletPath> context)
ApplicationContextRequestMatcherApplicationContextRequestMatcher<DispatcherServletPath> の matches request - ソースリクエスト context - 初期化されたコンテキストのサプライヤー (例外をスローすることがあります)Copyright © 2019 Pivotal Software, Inc.. All rights reserved.