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