public class SimpleRequestProvider extends Object implements SdkHttpRequestProvider
SdkHttpRequestProvider that provides all it's data at once. Useful for
non streaming operations that are already marshalled into memory.| Constructor and Description |
|---|
SimpleRequestProvider(SdkHttpFullRequest request,
ExecutionAttributes executionAttributes) |
| Modifier and Type | Method and Description |
|---|---|
long |
contentLength() |
void |
subscribe(org.reactivestreams.Subscriber<? super ByteBuffer> s) |
public SimpleRequestProvider(SdkHttpFullRequest request, ExecutionAttributes executionAttributes)
public long contentLength()
contentLength in interface SdkHttpRequestProviderpublic void subscribe(org.reactivestreams.Subscriber<? super ByteBuffer> s)
subscribe in interface org.reactivestreams.Publisher<ByteBuffer>Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.