Class BufferingContentStreamProvider
java.lang.Object
software.amazon.awssdk.core.internal.sync.BufferingContentStreamProvider
- All Implemented Interfaces:
- ContentStreamProvider
@SdkInternalApi
@NotThreadSafe
public final class BufferingContentStreamProvider
extends Object
implements ContentStreamProvider
ContentStreamProvider implementation that buffers the data stream data to memory as it's read. Once the underlying
 stream is read fully, all subsequent calls to newStream() will use the buffered data.- 
Nested Class SummaryNested classes/interfaces inherited from interface software.amazon.awssdk.http.ContentStreamProviderContentStreamProvider.ProviderType
- 
Constructor SummaryConstructorsConstructorDescriptionBufferingContentStreamProvider(ContentStreamProvider delegate, Long expectedLength) 
- 
Method SummaryModifier and TypeMethodDescriptionname()Each ContentStreamProvider should return a well-formed name that can be used to identify the implementation.
- 
Constructor Details- 
BufferingContentStreamProvider
 
- 
- 
Method Details- 
newStream- Specified by:
- newStreamin interface- ContentStreamProvider
- Returns:
- The content stream.
 
- 
nameDescription copied from interface:ContentStreamProviderEach ContentStreamProvider should return a well-formed name that can be used to identify the implementation. The stream name should only include alphanumeric characters.- Specified by:
- namein interface- ContentStreamProvider
- Returns:
- String containing the identifying name of this ContentStreamProvider implementation.
 
 
-