インターフェースの使用
org.springframework.http.server.PathContainer
パッケージ
説明
サーバー側の HTTP 上の抽象化が含まれています。
Spring のリアクティブ環境用の関数 Web フレームワークを構成する型を提供します。
org.springframework.web.reactive.function.server
パッケージをサポートするクラス。 抽象基本クラスを含む HandlerMapping 実装を提供します。
Spring のサーブレット環境用の関数 Web フレームワークを構成する型を提供します。
カスタム実装の抽象基本クラスを含む、標準の HandlerMapping 実装を提供します。
Spring に付属するサーブレット MVC フレームワークの標準コントローラー実装。
一致する HTTP リクエストパスの専用サポート。
org.springframework.http.server 内の PathContainer 使用
修飾子と型インターフェース説明interface
修飾子と型メソッド説明RequestPath.contextPath()
アプリケーションを表す URL パスの一部を返します。static PathContainer
static PathContainer
PathContainer.parsePath
(StringSE path, PathContainer.Options options) パス値をSeparator
およびPathSegment
要素のシーケンスに解析します。RequestPath.pathWithinApplication()
通常、アプリケーション内のリクエストマッピングに使用される、コンテキストパスの後のリクエストパスの部分。default PathContainer
PathContainer.subPath
(int index) 指定されたオフセットから要素リストにサブパスを抽出します。default PathContainer
PathContainer.subPath
(int startIndex, int endIndex) 指定された開始オフセットから要素リスト(包括的)および終了オフセット(包括的)へのサブパスを抽出します。org.springframework.web.reactive.function.server 内の PathContainer 使用
org.springframework.web.reactive.function.server.support 内の PathContainer 使用
org.springframework.web.reactive.handler 内の PathContainer 使用
修飾子と型メソッド説明protected ObjectSE
AbstractUrlHandlerMapping.lookupHandler
(PathContainer lookupPath, ServerWebExchange exchange) 指定された URL ルックアップパスのハンドラーインスタンスをルックアップします。org.springframework.web.servlet.function 内の PathContainer 使用
修飾子と型メソッド説明default PathContainer
ServerRequest.pathContainer()
使用すべきではありません。5.3 の時点で、ServerRequest.requestPath()
を推奨org.springframework.web.servlet.handler 内の PathContainer 使用
修飾子コンストラクター説明RequestMatchResult
(PathPattern pathPattern, PathContainer lookupPath) 一致したPathPattern
を使用してインスタンスを作成します。org.springframework.web.servlet.mvc 内の PathContainer 使用
修飾子と型メソッド説明protected CacheControl
WebContentInterceptor.lookupCacheControl
(PathContainer path) 指定された解析済みpath
のCacheControl
インスタンスを検索します。protected IntegerSE
WebContentInterceptor.lookupCacheSeconds
(PathContainer path) 指定された解析済みpath
の cacheSeconds 値を検索します。org.springframework.web.util.pattern 内の PathContainer 使用
修飾子と型メソッド説明PathPattern.extractPathWithinPattern
(PathContainer path) 指定されたパスのパターンマッピングされた部分を決定します。PathPattern.PathRemainingMatchInfo.getPathMatched()
パターンと一致したパスの部分を返します。PathPattern.PathRemainingMatchInfo.getPathRemaining()
パターンと一致しなかったパスの部分を返します。修飾子と型メソッド説明PathPattern.extractPathWithinPattern
(PathContainer path) 指定されたパスのパターンマッピングされた部分を決定します。PathPattern.matchAndExtract
(PathContainer pathContainer) このパターンを指定された URI パスに一致させ、抽出された URI テンプレート変数とパスパラメーター(マトリックス変数)を返します。boolean
PathPattern.matches
(PathContainer pathContainer) このパターンが指定されたパスに一致するかどうか。PathPattern.matchStartOfPath
(PathContainer pathContainer) 指定されたパスの先頭に一致し、このパターンでカバーされていない残りの部分を返します。
ServerRequest.requestPath()
を推奨