public final class FileAsyncRequestBody extends Object implements AsyncRequestBody
| Constructor and Description |
|---|
FileAsyncRequestBody(Path path) |
FileAsyncRequestBody(Path path,
int chunkSizeInBytes) |
| 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 FileAsyncRequestBody(Path path)
public FileAsyncRequestBody(Path path, int chunkSizeInBytes)
public 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.