public abstract class AwsChunkedInputStream extends SdkInputStream
| Modifier and Type | Field and Description |
|---|---|
protected software.amazon.awssdk.core.internal.io.ChunkContentIterator |
currentChunkIterator
Iterator on the current chunk.
|
static int |
DEFAULT_CHUNK_SIZE |
protected InputStream |
is |
protected boolean |
isAtStart |
protected boolean |
isTerminating |
protected static Logger |
log |
protected static int |
SKIP_BUFFER_SIZE |
protected software.amazon.awssdk.core.internal.io.UnderlyingStreamBuffer |
underlyingStreamBuffer
Iterator on the buffer of the underlying stream,
Null if the wrapped stream is marksupported,
otherwise it will be initialized when this wrapper is marked.
|
| Constructor and Description |
|---|
AwsChunkedInputStream() |
| Modifier and Type | Method and Description |
|---|---|
protected InputStream |
getWrappedInputStream()
Returns the underlying input stream, if any, from the subclass; or null
if there is no underlying input stream.
|
boolean |
markSupported() |
int |
read() |
long |
skip(long n) |
abort, abortIfNeeded, releaseclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitreleasepublic static final int DEFAULT_CHUNK_SIZE
protected static final int SKIP_BUFFER_SIZE
protected static final Logger log
protected InputStream is
protected software.amazon.awssdk.core.internal.io.ChunkContentIterator currentChunkIterator
protected software.amazon.awssdk.core.internal.io.UnderlyingStreamBuffer underlyingStreamBuffer
protected boolean isAtStart
protected boolean isTerminating
public int read()
throws IOException
read in class InputStreamIOExceptionpublic long skip(long n)
throws IOException
skip in class InputStreamIOExceptionpublic boolean markSupported()
markSupported in class InputStreamInputStream.markSupported()protected InputStream getWrappedInputStream()
SdkInputStreamgetWrappedInputStream in class SdkInputStreamCopyright © 2023. All rights reserved.