Package | Description |
---|---|
software.amazon.awssdk.core.async | |
software.amazon.awssdk.core.internal.async | |
software.amazon.awssdk.core.pagination.async |
Modifier and Type | Interface and Description |
---|---|
interface |
AsyncRequestBody
Interface to allow non-blocking streaming of request content.
|
Modifier and Type | Method and Description |
---|---|
static <T> SdkPublisher<T> |
SdkPublisher.adapt(org.reactivestreams.Publisher<T> toAdapt)
Adapts a
Publisher to SdkPublisher . |
default SdkPublisher<List<T>> |
SdkPublisher.buffer(int bufferSize)
Buffers the events into lists of the given buffer size.
|
default <U extends T> |
SdkPublisher.filter(Class<U> clzz)
Filters published events to just those that are instances of the given class.
|
default SdkPublisher<T> |
SdkPublisher.filter(Predicate<T> predicate)
Filters published events to just those that match the given predicate.
|
default <U> SdkPublisher<U> |
SdkPublisher.flatMapIterable(Function<T,Iterable<U>> mapper)
Performs a mapping on the published events and creates a new publisher that emits the mapped events one by one.
|
default SdkPublisher<T> |
SdkPublisher.limit(int limit)
Limit the number of published events and cancel the subscription after that limit has been reached.
|
default <U> SdkPublisher<U> |
SdkPublisher.map(Function<T,U> mapper)
Perform a mapping on the published events.
|
Modifier and Type | Method and Description |
---|---|
void |
AsyncResponseTransformer.onStream(SdkPublisher<ByteBuffer> publisher)
Called when the response stream is ready.
|
Modifier and Type | Class and Description |
---|---|
class |
ByteArrayAsyncRequestBody
An implementation of
AsyncRequestBody for providing data from memory. |
class |
EnvelopeWrappedSdkPublisher<T>
Publisher implementation that wraps the content of another publisher in an envelope with an optional prefix (or
header) and suffix (or footer).
|
class |
FileAsyncRequestBody
Implementation of
AsyncRequestBody that reads data from a file. |
Modifier and Type | Method and Description |
---|---|
static SdkPublisher<ByteBuffer> |
SdkPublishers.envelopeWrappedPublisher(org.reactivestreams.Publisher<ByteBuffer> publisher,
String envelopePrefix,
String envelopeSuffix)
Constructs an
SdkPublisher that wraps a ByteBuffer publisher and inserts additional content
that wraps the published content like an envelope. |
Modifier and Type | Method and Description |
---|---|
void |
ByteArrayAsyncResponseTransformer.onStream(SdkPublisher<ByteBuffer> publisher) |
void |
FileAsyncResponseTransformer.onStream(SdkPublisher<ByteBuffer> publisher) |
Modifier and Type | Class and Description |
---|---|
class |
PaginatedItemsPublisher<ResponseT,ItemT>
A publisher to request for a stream of paginated items.
|
Copyright © 2020. All rights reserved.