static HttpRequest.BodyPublisher |
HttpRequest.BodyPublisher.fromByteArray(byte[] buf) |
本文が指定されたバイト配列であるリクエストボディ・パブリッシャを返します。
|
static HttpRequest.BodyPublisher |
HttpRequest.BodyPublisher. fromByteArray(byte[] buf, int offset, int length) |
指定されたoffsetから始まるlengthバイトの指定されたバイト配列の内容を本文として持つリクエストボディ・パブリッシャを返します。
|
static HttpRequest.BodyPublisher |
HttpRequest.BodyPublisher.fromByteArrays(Iterable<byte[]> iter) |
バイト配列のIterableからデータを取得するリクエストボディ・パブリッシャ。
|
static HttpRequest.BodyPublisher |
HttpRequest.BodyPublisher.fromFile(Path path) |
ファイルの内容からデータを取得するリクエスト・ボディ・パブリッシャ。
|
static HttpRequest.BodyPublisher |
HttpRequest.BodyPublisher. fromInputStream(Supplier<? extends InputStream> streamSupplier) |
|
static HttpRequest.BodyPublisher |
HttpRequest.BodyPublisher. fromPublisher(Flow.Publisher<? extends ByteBuffer> publisher) |
指定されたFlow.Publisherから本文が取得されたリクエスト・ボディ・パブリッシャを返します。
|
static HttpRequest.BodyPublisher |
HttpRequest.BodyPublisher. fromPublisher(Flow.Publisher<? extends ByteBuffer> publisher, long contentLength) |
指定されたFlow.Publisherから本文が取得されたリクエスト・ボディ・パブリッシャを返します。
|
static HttpRequest.BodyPublisher |
HttpRequest.BodyPublisher.fromString(String body) |
UTF_8文字セットを使用して変換された、指定された Stringの本文を持つリクエスト本体パブリッシャを返します。
|
static HttpRequest.BodyPublisher |
HttpRequest.BodyPublisher. fromString(String s, Charset charset) |
指定された文字セットを使用して変換された、指定された Stringの本文を持つリクエスト・ボディ・パブリッシャを返します。
|
static HttpRequest.BodyPublisher |
HttpRequest.BodyPublisher.noBody() |
リクエスト本文を送信しないリクエストボディ・パブリッシャ。
|