Uses of Interface
software.amazon.awssdk.core.async.SdkPublisher
-
-
Uses of SdkPublisher in software.amazon.awssdk.core.async
Subinterfaces of SdkPublisher in software.amazon.awssdk.core.async Modifier and Type Interface Description interfaceAsyncRequestBodyInterface to allow non-blocking streaming of request content.Classes in software.amazon.awssdk.core.async that implement SdkPublisher Modifier and Type Class Description classBlockingInputStreamAsyncRequestBodyAn implementation ofAsyncRequestBodythat allows performing a blocking write of an input stream to a downstream service.classBlockingOutputStreamAsyncRequestBodyAn implementation ofAsyncRequestBodythat allows performing a blocking write of an output stream to a downstream service.classResponsePublisher<ResponseT extends SdkResponse>AnSdkPublisherthat publishes response body content and also contains a reference to theSdkResponsereturned by the service.Methods in software.amazon.awssdk.core.async that return SdkPublisher Modifier and Type Method Description static <T> SdkPublisher<T>SdkPublisher. adapt(org.reactivestreams.Publisher<T> toAdapt)Adapts aPublishertoSdkPublisher.default SdkPublisher<T>SdkPublisher. addTrailingData(Supplier<Iterable<T>> trailingDataSupplier)Creates a new publisher that emits trailing events provided bytrailingDataSupplierin addition to the published events.default SdkPublisher<List<T>>SdkPublisher. buffer(int bufferSize)Buffers the events into lists of the given buffer size.default SdkPublisher<T>SdkPublisher. doAfterOnCancel(Runnable afterOnCancel)Add a callback that will be invoked after this publisher invokesSubscription.cancel().default SdkPublisher<T>SdkPublisher. doAfterOnComplete(Runnable afterOnComplete)Add a callback that will be invoked after this publisher invokesSubscriber.onComplete().default SdkPublisher<T>SdkPublisher. doAfterOnError(Consumer<Throwable> afterOnError)Add a callback that will be invoked after this publisher invokesSubscriber.onError(Throwable).default <U extends T>
SdkPublisher<U>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.default SdkPublisher<AsyncRequestBody>AsyncRequestBody. split(Consumer<AsyncRequestBodySplitConfiguration.Builder> splitConfiguration)This is a convenience method that passes an instance of theAsyncRequestBodySplitConfigurationbuilder, avoiding the need to create one manually viaAsyncRequestBodySplitConfiguration.builder().default SdkPublisher<AsyncRequestBody>AsyncRequestBody. split(AsyncRequestBodySplitConfiguration splitConfiguration)Converts thisAsyncRequestBodyto a publisher ofAsyncRequestBodys, each of which publishes a specific portion of the original data, based on the providedAsyncRequestBodySplitConfiguration.Methods in software.amazon.awssdk.core.async with parameters of type SdkPublisher Modifier and Type Method Description voidAsyncResponseTransformer. onStream(SdkPublisher<ByteBuffer> publisher)Called when the response stream is ready.Constructors in software.amazon.awssdk.core.async with parameters of type SdkPublisher Constructor Description ResponsePublisher(ResponseT response, SdkPublisher<ByteBuffer> publisher) -
Uses of SdkPublisher in software.amazon.awssdk.core.async.listener
Classes in software.amazon.awssdk.core.async.listener that implement SdkPublisher Modifier and Type Class Description static classAsyncRequestBodyListener.NotifyingAsyncRequestBodystatic classPublisherListener.NotifyingPublisher<T>Methods in software.amazon.awssdk.core.async.listener that return SdkPublisher Modifier and Type Method Description static <T> SdkPublisher<T>PublisherListener. wrap(SdkPublisher<T> delegate, PublisherListener<T> listener)Wrap aSdkPublisherwith a new one that will notify aPublisherListenerof important events occurring.Methods in software.amazon.awssdk.core.async.listener with parameters of type SdkPublisher Modifier and Type Method Description voidAsyncResponseTransformerListener.NotifyingAsyncResponseTransformer. onStream(SdkPublisher<ByteBuffer> publisher)default voidAsyncResponseTransformerListener. transformerOnStream(SdkPublisher<ByteBuffer> publisher)Invoked beforeAsyncResponseTransformer.onStream(SdkPublisher)static <T> SdkPublisher<T>PublisherListener. wrap(SdkPublisher<T> delegate, PublisherListener<T> listener)Wrap aSdkPublisherwith a new one that will notify aPublisherListenerof important events occurring. -
Uses of SdkPublisher in software.amazon.awssdk.core.internal.async
Classes in software.amazon.awssdk.core.internal.async that implement SdkPublisher Modifier and Type Class Description classByteBuffersAsyncRequestBodyAn implementation ofAsyncRequestBodyfor providing data from the suppliedByteBufferarray.classChecksumCalculatingAsyncRequestBodyWrapper class to wrap an AsyncRequestBody.classChecksumValidatingPublisherPublisher to update the checksum as it reads the data and finally compares the computed checksum with expected Checksum.classCompressionAsyncRequestBodyWrapper class to wrap an AsyncRequestBody.classEnvelopeWrappedSdkPublisher<T>Publisher implementation that wraps the content of another publisher in an envelope with an optional prefix (or header) and suffix (or footer).classFileAsyncRequestBodyImplementation ofAsyncRequestBodythat reads data from a file.classInputStreamWithExecutorAsyncRequestBodyAAsyncRequestBodythat allows reading data off of anInputStreamusing a backgroundExecutorService.classSplittingPublisherSplits anAsyncRequestBodyto multiple smallerAsyncRequestBodys, each of which publishes a specific portion of the original data.Methods in software.amazon.awssdk.core.internal.async that return SdkPublisher Modifier and Type Method Description static SdkPublisher<ByteBuffer>SdkPublishers. envelopeWrappedPublisher(org.reactivestreams.Publisher<ByteBuffer> publisher, String envelopePrefix, String envelopeSuffix)Constructs anSdkPublisherthat wraps aByteBufferpublisher and inserts additional content that wraps the published content like an envelope.SdkPublisher<AsyncRequestBody>FileAsyncRequestBody. split(AsyncRequestBodySplitConfiguration splitConfiguration)SdkPublisher<AsyncRequestBody>FileAsyncRequestBodySplitHelper. split()Methods in software.amazon.awssdk.core.internal.async with parameters of type SdkPublisher Modifier and Type Method Description voidByteArrayAsyncResponseTransformer. onStream(SdkPublisher<ByteBuffer> publisher)voidFileAsyncResponseTransformer. onStream(SdkPublisher<ByteBuffer> publisher)voidInputStreamResponseTransformer. onStream(SdkPublisher<ByteBuffer> publisher)voidPublisherAsyncResponseTransformer. onStream(SdkPublisher<ByteBuffer> publisher) -
Uses of SdkPublisher in software.amazon.awssdk.core.pagination.async
Classes in software.amazon.awssdk.core.pagination.async that implement SdkPublisher Modifier and Type Class Description classPaginatedItemsPublisher<ResponseT,ItemT>A publisher to request for a stream of paginated items.
-