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) |
readpublic 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 FilterInputStreamIOExceptionpublic int read(byte[] b,
int off,
int len)
throws IOException
read in class FilterInputStreamIOExceptionpublic long skip(long n)
throws IOException
skip in class FilterInputStreamIOExceptionpublic int available()
throws IOException
available in class FilterInputStreamIOExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class FilterInputStreamIOExceptionpublic void mark(int readlimit)
mark in class FilterInputStreampublic void reset()
throws IOException
reset in class FilterInputStreamIOExceptionpublic boolean markSupported()
markSupported in class FilterInputStreampublic void release()
Copyright © 2021. All Rights Reserved.