public interface AsyncRequestBody extends org.reactivestreams.Publisher<ByteBuffer>, TeaRequestBody
| 限定符和类型 | 方法和说明 |
|---|---|
static AsyncRequestBody |
empty() |
static AsyncRequestBody |
fromByteBuffer(ByteBuffer byteBuffer) |
static AsyncRequestBody |
fromBytes(byte[] bytes) |
static AsyncRequestBody |
fromFile(File file) |
static AsyncRequestBody |
fromFile(Path path) |
static AsyncRequestBody |
fromPublisher(org.reactivestreams.Publisher<ByteBuffer> publisher) |
static AsyncRequestBody |
fromString(String string) |
static AsyncRequestBody |
fromString(String string,
Charset cs) |
contentLength, contentTypestatic AsyncRequestBody fromPublisher(org.reactivestreams.Publisher<ByteBuffer> publisher)
static AsyncRequestBody fromFile(Path path)
static AsyncRequestBody fromFile(File file)
static AsyncRequestBody fromString(String string, Charset cs)
static AsyncRequestBody fromString(String string)
static AsyncRequestBody fromBytes(byte[] bytes)
static AsyncRequestBody fromByteBuffer(ByteBuffer byteBuffer)
static AsyncRequestBody empty()
Copyright © 2023. All rights reserved.