インターフェースの使用
org.springframework.util.PathMatcher
PathMatcher を使用するパッケージ
パッケージ
説明
Spring のリソース抽象化のサポートクラス。
メッセージハンドラーメソッドを操作するための基本的な抽象概念。
シンプルなメッセージングプロトコル(STOMP など)からのメッセージを処理するためのクラスをサポートします。
「単純な」メッセージブローカの実装を、抽象基本クラスおよびサブスクリプションのレジストリなどの他のサポート型とともに提供します。
より高いレベルのメッセージングプロトコルを使用した WebSocket メッセージングの構成サポート。
文字列、クラス、コレクション、リフレクションなどを操作するためのユーティリティなど、その他のユーティリティクラス。
一般的な
CorsProcessor 戦略に基づく、CORS(クロスオリジンリソースシェアリング)のサポート。Spring MVC のアノテーションベースのセットアップ。
カスタム実装の抽象基本クラスを含む、標準の HandlerMapping 実装を提供します。
Spring に付属するサーブレット MVC フレームワークの標準コントローラー実装。
条件に基づいて受信リクエストを照合するための一般的な MVC ロジック。
org.springframework.web.method パッケージに基づいた、ハンドラーメソッド処理用のサーブレットベースのインフラストラクチャ。 静的リソースを提供するためのサポートクラス。
org.springframework.core.io.support 内の PathMatcher 使用
修飾子と型メソッド説明PathMatchingResourcePatternResolver.getPathMatcher()このリソースパターンリゾルバーが使用するPathMatcherを返します。型 PathMatcher のパラメーターを持つ org.springframework.core.io.support のメソッド修飾子と型メソッド説明voidPathMatchingResourcePatternResolver.setPathMatcher(PathMatcher pathMatcher) このリソースパターンリゾルバーに使用するPathMatcher実装を設定します。org.springframework.messaging.handler 内の PathMatcher 使用
型 PathMatcher のパラメーターを持つ org.springframework.messaging.handler のコンストラクター修飾子コンストラクター説明DestinationPatternsMessageCondition(StringSE[] patterns, PathMatcher matcher) パターンとPathMatcherインスタンスを持つコンストラクター。org.springframework.messaging.simp.annotation.support 内の PathMatcher 使用
型 PathMatcher のパラメーターを持つ org.springframework.messaging.simp.annotation.support のメソッド修飾子と型メソッド説明voidSimpAnnotationMethodMessageHandler.setPathMatcher(PathMatcher pathMatcher) PathMatcher 実装を設定して、設定された宛先パターンに対して宛先を照合するために使用します。org.springframework.messaging.simp.broker 内の PathMatcher 使用
型 PathMatcher のパラメーターを持つ org.springframework.messaging.simp.broker のメソッド修飾子と型メソッド説明voidDefaultSubscriptionRegistry.setPathMatcher(PathMatcher pathMatcher) 使用するPathMatcherを指定します。voidSimpleBrokerMessageHandler.setPathMatcher(PathMatcher pathMatcher) 構成すると、指定された PathMatcher が基になる SubscriptionRegistry に渡され、宛先をサブスクリプションに一致させるために使用されます。org.springframework.messaging.simp.config 内の PathMatcher 使用
修飾子と型メソッド説明final PathMatcherAbstractMessageBrokerConfiguration.getPathMatcher(AbstractSubscribableChannel clientInboundChannel, AbstractSubscribableChannel clientOutboundChannel) 他の構成クラスからのアクセスのために、構成された PatchMatcher へのアクセスを提供します。protected PathMatcherMessageBrokerRegistry.getPathMatcher()型 PathMatcher のパラメーターを持つ org.springframework.messaging.simp.config のメソッド修飾子と型メソッド説明MessageBrokerRegistry.setPathMatcher(PathMatcher pathMatcher) 受信メッセージの宛先を@MessageMappingおよび@SubscribeMappingメソッドに一致させるために使用する PathMatcher を構成します。org.springframework.util 内の PathMatcher 使用
PathMatcher を実装している org.springframework.util のクラスPathMatcher を返す org.springframework.util のメソッド型 PathMatcher のパラメーターを持つ org.springframework.util のコンストラクター修飾子コンストラクター説明SimpleRouteMatcher(PathMatcher pathMatcher) 指定されたPathMatcherデリゲートの新しいSimpleRouteMatcherを作成します。org.springframework.web.cors 内の PathMatcher 使用
型 PathMatcher のパラメーターを持つ org.springframework.web.cors のメソッド修飾子と型メソッド説明voidUrlBasedCorsConfigurationSource.setPathMatcher(PathMatcher pathMatcher) パターンマッチングに使用するPathMatcherを構成します。org.springframework.web.servlet.config.annotation 内の PathMatcher 使用
修飾子と型メソッド説明PathMatchConfigurer.getPathMatcher()protected PathMatcherPathMatchConfigurer.getPathMatcherOrDefault()それ以外の場合は、構成済みの PathMatcher またはデフォルトの共有インスタンスを返します。WebMvcConfigurationSupport.mvcPathMatcher()文字列パターンとの URL パスマッチングに使用されるグローバルPathMatcherインスタンスを返します。型 PathMatcher のパラメーターを持つ org.springframework.web.servlet.config.annotation のメソッド修飾子と型メソッド説明InterceptorRegistration.pathMatcher(PathMatcher pathMatcher) URL パスを包含および除外パターンと照合するために使用するように PathMatcher を構成します。PathMatchConfigurer.setPathMatcher(PathMatcher pathMatcher) 文字列パターンマッチングに使用する PathMatcher を設定します。org.springframework.web.servlet.handler 内の PathMatcher 使用
修飾子と型メソッド説明AbstractHandlerMapping.getPathMatcher()configuredPathMatcherを返します。MappedInterceptor.getPathMatcher()構成済みの PathMatcher を取得します。型 PathMatcher のパラメーターを持つ org.springframework.web.servlet.handler のメソッド修飾子と型メソッド説明booleanMappedInterceptor.matches(StringSE lookupPath, PathMatcher pathMatcher) 使用すべきではありません。voidAbstractHandlerMapping.setPathMatcher(PathMatcher pathMatcher) 使用する PathMatcher を構成します。voidMappedInterceptor.setPathMatcher(PathMatcher pathMatcher) URL パスを包含および除外パターンと照合するために使用するように PathMatcher を構成します。型 PathMatcher のパラメーターを持つ org.springframework.web.servlet.handler のコンストラクター修飾子コンストラクター説明RequestMatchResult(StringSE pattern, StringSE lookupPath, PathMatcher pathMatcher) 一致した文字列パターンでインスタンスを作成します。org.springframework.web.servlet.mvc 内の PathMatcher 使用
型 PathMatcher のパラメーターを持つ org.springframework.web.servlet.mvc のメソッド修飾子と型メソッド説明voidWebContentInterceptor.setPathMatcher(PathMatcher pathMatcher) PathMatcher を構成して、URL パスを登録済みの URL パターンと照合し、リクエストのキャッシュ設定を選択します。org.springframework.web.servlet.mvc.condition 内の PathMatcher 使用
型 PathMatcher のパラメーターを持つ org.springframework.web.servlet.mvc.condition のコンストラクター修飾子コンストラクター説明PatternsRequestCondition(StringSE[] patterns, boolean useTrailingSlashMatch, PathMatcher pathMatcher) PathMatcherと末尾のスラッシュを一致させるためのフラグを持つPatternsRequestCondition(String...)のバリアント。PatternsRequestCondition(StringSE[] patterns, UrlPathHelper urlPathHelper, PathMatcher pathMatcher, boolean useTrailingSlashMatch) 使用すべきではありません。PatternsRequestCondition(StringSE[] patterns, UrlPathHelper urlPathHelper, PathMatcher pathMatcher, boolean useSuffixPatternMatch, boolean useTrailingSlashMatch) 使用すべきではありません。5.2.4 現在。PatternsRequestCondition(StringSE[] patterns, UrlPathHelper urlPathHelper, PathMatcher pathMatcher, boolean useSuffixPatternMatch, boolean useTrailingSlashMatch, ListSE<StringSE> fileExtensions) 使用すべきではありません。5.2.4 現在。org.springframework.web.servlet.mvc.method 内の PathMatcher 使用
修飾子と型メソッド説明RequestMappingInfo.BuilderConfiguration.getPathMatcher()PatternsRequestCondition に使用するカスタム PathMatcher を返します(ある場合)。型 PathMatcher のパラメーターを持つ org.springframework.web.servlet.mvc.method のメソッド修飾子と型メソッド説明voidRequestMappingInfo.BuilderConfiguration.setPathMatcher(PathMatcher pathMatcher) PatternsRequestCondition に使用するカスタム PathMatcher を設定します。org.springframework.web.servlet.resource 内の PathMatcher 使用
型 PathMatcher のパラメーターを持つ org.springframework.web.servlet.resource のメソッド修飾子と型メソッド説明voidResourceUrlProvider.setPathMatcher(PathMatcher pathMatcher) ターゲットルックアップパスをリソースマッピングと比較するときに使用するPathMatcherを構成します。
MappedInterceptor.matches(HttpServletRequest)を推奨