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 に転送する本文サブスクライバを返します。
|