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, release
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
release
public 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 InputStream
IOException
public long skip(long n) throws IOException
skip
in class InputStream
IOException
public boolean markSupported()
markSupported
in class InputStream
InputStream.markSupported()
protected InputStream getWrappedInputStream()
SdkInputStream
getWrappedInputStream
in class SdkInputStream
Copyright © 2023. All rights reserved.