HttpResponse.BodySubscriber<T> |
HttpResponse.BodyHandler.apply(int statusCode, HttpHeaders responseHeaders) |
|
static HttpResponse.BodySubscriber<byte[]> |
HttpResponse.BodySubscriber.asByteArray() |
レスポンス本文をバイト配列として格納するBodySubscriberを返します。
|
static HttpResponse.BodySubscriber<Void> |
HttpResponse.BodySubscriber.asByteArrayConsumer(Consumer<Optional<byte[]>> consumer) |
提供されたOptional<byte[]>のコンシューマに着信する本文データを提供するBodySubscriberを返します。
|
static HttpResponse.BodySubscriber<Path> |
HttpResponse.BodySubscriber.asFile(Path file) |
指定された名前でオープンされたファイルにレスポンス本文を格納するBodySubscriberを返します。
|
static HttpResponse.BodySubscriber<Path> |
HttpResponse.BodySubscriber. asFile(Path file, OpenOption... openOptions) |
与えられたオプションと名前でオープンされたファイルにレスポンス本文を格納するBodySubscriberを返します。
|
static HttpResponse.BodySubscriber<InputStream> |
HttpResponse.BodySubscriber.asInputStream() |
|
static HttpResponse.BodySubscriber<String> |
HttpResponse.BodySubscriber.asString(Charset charset) |
指定されたCharsetを使用して変換された Stringとしてレスポンス本文を格納する本文サブスクライバを返します。
|
static <T> HttpResponse.BodySubscriber<T> |
HttpResponse.BodySubscriber. buffering(HttpResponse.BodySubscriber<T> downstream, int bufferSize) |
特定のダウンストリーム・サブスクライバにデータを配信する前にデータをバッファリングするBodySubscriberを返します。
|
static <U> HttpResponse.BodySubscriber<U> |
HttpResponse.BodySubscriber.discard(U value) |
レスポンス本文を破棄するレスポンス・サブスクライバを返します。
|
static <S extends Flow.Subscriber<? super List<ByteBuffer>>> HttpResponse.BodySubscriber<Void> |
HttpResponse.BodySubscriber.fromSubscriber(S subscriber) |
すべてのレスポンス本文を指定されたFlow.Subscriberに転送する本文サブスクライバを返します。
|
static <S extends Flow.Subscriber<? super List<ByteBuffer>>,T> HttpResponse.BodySubscriber<T> |
HttpResponse.BodySubscriber. fromSubscriber(S subscriber, Function<S,T> finisher) |
すべてのレスポンス本文を指定されたFlow.Subscriberに転送する本文サブスクライバを返します。
|