HttpResponse.BodySubscriber<T> |
HttpResponse.BodyHandler.apply(HttpResponse.ResponseInfo responseInfo) |
|
static <T> HttpResponse.BodySubscriber<T> |
HttpResponse.BodySubscribers.buffering(HttpResponse.BodySubscriber<T> downstream, int bufferSize) |
特定のダウンストリーム・サブスクライバにデータを配信する前にデータをバッファリングするBodySubscriberを返します。
|
static HttpResponse.BodySubscriber<Void> |
HttpResponse.BodySubscribers.discarding() |
レスポンス本文を破棄するレスポンス・サブスクライバを返します。
|
static HttpResponse.BodySubscriber<Void> |
HttpResponse.BodySubscribers.fromLineSubscriber(Flow.Subscriber<? super String> subscriber) |
指定されたFlow.Subscriberの行ごとにすべてのレスポンス本文を転送する本体サブスクライバを返します。
|
static <S extends Flow.Subscriber<? super String>,T> HttpResponse.BodySubscriber<T> |
HttpResponse.BodySubscribers.fromLineSubscriber(S subscriber, Function<? super S,? extends T> finisher, Charset charset, String lineSeparator) |
指定されたFlow.Subscriberの行ごとにすべてのレスポンス本文を転送する本体サブスクライバを返します。
|
static HttpResponse.BodySubscriber<Void> |
HttpResponse.BodySubscribers.fromSubscriber(Flow.Subscriber<? super List<ByteBuffer>> subscriber) |
すべてのレスポンス本文を指定されたFlow.Subscriberに転送する本文サブスクライバを返します。
|
static <S extends Flow.Subscriber<? super List<ByteBuffer>>,T> HttpResponse.BodySubscriber<T> |
HttpResponse.BodySubscribers.fromSubscriber(S subscriber, Function<? super S,? extends T> finisher) |
すべてのレスポンス本文を指定されたFlow.Subscriberに転送する本文サブスクライバを返します。
|
static <T,U> HttpResponse.BodySubscriber<U> |
HttpResponse.BodySubscribers.mapping(HttpResponse.BodySubscriber<T> upstream, Function<? super T,? extends U> mapper) |
指定されたupstream BodySubscriberの本体オブジェクトに指定された関数を適用した結果がレスポンス本文の値であるBodySubscriberを返します。
|
static HttpResponse.BodySubscriber<byte[]> |
HttpResponse.BodySubscribers.ofByteArray() |
レスポンス本文をバイト配列として格納するBodySubscriberを返します。
|
static HttpResponse.BodySubscriber<Void> |
HttpResponse.BodySubscribers.ofByteArrayConsumer(Consumer<オプショナル<byte[]>> consumer) |
提供されたOptional<byte[]>のコンシューマに着信する本文データを提供するBodySubscriberを返します。
|
static HttpResponse.BodySubscriber<Path> |
HttpResponse.BodySubscribers.ofFile(Path file) |
指定された名前でオープンされたファイルにレスポンス本文を格納するBodySubscriberを返します。
|
static HttpResponse.BodySubscriber<Path> |
HttpResponse.BodySubscribers.ofFile(Path file, OpenOption... openOptions) |
与えられたオプションと名前でオープンされたファイルにレスポンス本文を格納するBodySubscriberを返します。
|
static HttpResponse.BodySubscriber<InputStream> |
HttpResponse.BodySubscribers.ofInputStream() |
|
static HttpResponse.BodySubscriber<Stream<String>> |
HttpResponse.BodySubscribers.ofLines(Charset charset) |
|
static HttpResponse.BodySubscriber<Flow.Publisher<List<ByteBuffer>>> |
HttpResponse.BodySubscribers.ofPublisher() |
Publisher<List<ByteBuffer>>を介してレスポンス本文をパブリッシュするレスポンス・サブスクライバを返します。
|
static HttpResponse.BodySubscriber<String> |
HttpResponse.BodySubscribers.ofString(Charset charset) |
指定されたCharsetを使用して変換された Stringとしてレスポンス本文を格納する本文サブスクライバを返します。
|
static <U> HttpResponse.BodySubscriber<U> |
HttpResponse.BodySubscribers.replacing(U value) |
レスポンス本文を破棄するレスポンス・サブスクライバを返します。
|