Class InMemoryPublisher
- java.lang.Object
-
- software.amazon.awssdk.http.auth.aws.internal.signer.io.InMemoryPublisher
-
- All Implemented Interfaces:
org.reactivestreams.Publisher<ByteBuffer>
public class InMemoryPublisher extends Object implements org.reactivestreams.Publisher<ByteBuffer>
Temporarily used for buffering all data into memory. TODO(sra-identity-auth): Remove this by supporting chunked encoding. We should not buffer everything into memory.
-
-
Constructor Summary
Constructors Constructor Description InMemoryPublisher(List<ByteBuffer> data)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidsubscribe(org.reactivestreams.Subscriber<? super ByteBuffer> s)
-
-
-
Constructor Detail
-
InMemoryPublisher
public InMemoryPublisher(List<ByteBuffer> data)
-
-
Method Detail
-
subscribe
public void subscribe(org.reactivestreams.Subscriber<? super ByteBuffer> s)
- Specified by:
subscribein interfaceorg.reactivestreams.Publisher<ByteBuffer>
-
-