public class ZstdRequestBody
extends java.lang.Object
implements software.amazon.awssdk.core.async.AsyncRequestBody
Constructor and Description |
---|
ZstdRequestBody(java.nio.file.Path sourceFile,
com.netflix.spectator.api.DistributionSummary compressionRatio) |
Modifier and Type | Method and Description |
---|---|
java.util.Optional<java.lang.Long> |
contentLength() |
void |
subscribe(org.reactivestreams.Subscriber<? super java.nio.ByteBuffer> s) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public ZstdRequestBody(java.nio.file.Path sourceFile, com.netflix.spectator.api.DistributionSummary compressionRatio)
public void subscribe(org.reactivestreams.Subscriber<? super java.nio.ByteBuffer> s)
subscribe
in interface org.reactivestreams.Publisher<java.nio.ByteBuffer>
public java.util.Optional<java.lang.Long> contentLength()
contentLength
in interface software.amazon.awssdk.core.async.AsyncRequestBody
Copyright © 2023. All Rights Reserved.