public class SdkFilterInputStream extends FilterInputStream
FilterInputStream
.in
Constructor and Description |
---|
SdkFilterInputStream(InputStream in) |
Modifier and Type | Method and Description |
---|---|
void |
abort() |
protected void |
abortIfNeeded()
Aborts the inputstream operation if thread is interrupted.
|
int |
available() |
void |
close() |
InputStream |
getDelegateStream() |
boolean |
isAborted() |
void |
mark(int readlimit) |
boolean |
markSupported() |
int |
read() |
int |
read(byte[] b,
int off,
int len) |
void |
release() |
void |
reset() |
long |
skip(long n) |
read
public SdkFilterInputStream(InputStream in)
public InputStream getDelegateStream()
protected final void abortIfNeeded()
ClientException
- with ClientErrorCode INPUTSTREAM_READING_ABORTED if thread aborted.public void abort()
public boolean isAborted()
public int read() throws IOException
read
in class FilterInputStream
IOException
public int read(byte[] b, int off, int len) throws IOException
read
in class FilterInputStream
IOException
public long skip(long n) throws IOException
skip
in class FilterInputStream
IOException
public int available() throws IOException
available
in class FilterInputStream
IOException
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
close
in class FilterInputStream
IOException
public void mark(int readlimit)
mark
in class FilterInputStream
public void reset() throws IOException
reset
in class FilterInputStream
IOException
public boolean markSupported()
markSupported
in class FilterInputStream
public void release()
Copyright © 2021. All Rights Reserved.