public final class FileAsyncRequestBody extends Object implements AsyncRequestBody
AsyncRequestBody that reads data from a file.| Modifier and Type | Class and Description |
|---|---|
static interface |
FileAsyncRequestBody.Builder
A builder for
FileAsyncRequestBody. |
| Modifier and Type | Method and Description |
|---|---|
static FileAsyncRequestBody.Builder |
builder() |
Optional<Long> |
contentLength() |
String |
contentType() |
void |
subscribe(org.reactivestreams.Subscriber<? super ByteBuffer> s) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitempty, forBlockingInputStream, forBlockingOutputStream, fromByteBuffer, fromByteBuffers, fromByteBuffersUnsafe, fromByteBufferUnsafe, fromBytes, fromBytesUnsafe, fromFile, fromFile, fromInputStream, fromPublisher, fromRemainingByteBuffer, fromRemainingByteBuffers, fromRemainingByteBuffersUnsafe, fromRemainingByteBufferUnsafe, fromString, fromStringadapt, buffer, doAfterOnCancel, doAfterOnComplete, doAfterOnError, filter, filter, flatMapIterable, limit, map, subscribepublic Optional<Long> contentLength()
contentLength in interface AsyncRequestBodypublic String contentType()
contentType in interface AsyncRequestBodypublic void subscribe(org.reactivestreams.Subscriber<? super ByteBuffer> s)
subscribe in interface org.reactivestreams.Publisher<ByteBuffer>public static FileAsyncRequestBody.Builder builder()
FileAsyncRequestBody.Copyright © 2023. All rights reserved.