クラスの使用
org.springframework.http.HttpRange
パッケージ
説明
クライアント / サーバー側 HTTP の基本的な抽象化が含まれています。
リアクティブ HTTP サーバー契約のモック実装。
Spring のリアクティブ環境用の関数 Web フレームワークを構成する型を提供します。
org.springframework.web.reactive.function.server
パッケージをサポートするクラス。Spring のサーブレット環境用の関数 Web フレームワークを構成する型を提供します。
org.springframework.http 内の HttpRange 使用
修飾子と型メソッド説明static HttpRange
HttpRange.createByteRange
(long firstBytePos) 指定された位置から最後までHttpRange
を作成します。static HttpRange
HttpRange.createByteRange
(long firstBytePos, long lastBytePos) 与えられた拳から最後の位置までHttpRange
を作成します。static HttpRange
HttpRange.createSuffixRange
(long suffixLength) 最後に指定されたバイト数に及ぶHttpRange
を作成します。修飾子と型メソッド説明HttpHeaders.getRange()
Range
ヘッダーの値を返します。HttpRange.parseRanges
(StringSE ranges) 指定されたコンマ区切りの文字列を解析して、HttpRange
オブジェクトのリストにします。修飾子と型メソッド説明void
Range
ヘッダーの(新しい)値を設定します。static ListSE<ResourceRegion>
HttpRange.toResourceRegions
(ListSE<HttpRange> ranges, Resource resource) HTTP 範囲情報を使用して、各HttpRange
をResourceRegion
に変換し、指定されたResource
の適切なセグメントを選択します。static StringSE
HttpRange.toString
(CollectionSE<HttpRange> ranges) 指定されたHttpRange
オブジェクトのリストの文字列表現を返します。org.springframework.mock.http.server.reactive 内の HttpRange 使用
org.springframework.web.reactive.function.server 内の HttpRange 使用
org.springframework.web.reactive.function.server.support 内の HttpRange 使用
org.springframework.web.servlet.function 内の HttpRange 使用