public final class ByteArrayAsyncRequestBody extends Object implements AsyncRequestBody
| Constructor and Description |
|---|
ByteArrayAsyncRequestBody(byte[] bytes) |
| Modifier and Type | Method and Description |
|---|---|
Optional<Long> |
contentLength() |
Optional<String> |
contentType() |
void |
subscribe(org.reactivestreams.Subscriber<? super ByteBuffer> s) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitempty, fromByteBuffer, fromBytes, fromFile, fromFile, fromPublisher, fromString, fromStringpublic Optional<Long> contentLength()
contentLength in interface TeaRequestBodypublic Optional<String> contentType()
contentType in interface TeaRequestBodypublic void subscribe(org.reactivestreams.Subscriber<? super ByteBuffer> s)
subscribe in interface org.reactivestreams.Publisher<ByteBuffer>Copyright © 2022. All rights reserved.