public abstract class SdkInputStream extends java.io.InputStream implements MetricAware
InputStream.| Constructor and Description |
|---|
SdkInputStream() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
abort()
Can be used to provide abortion logic prior to throwing the
AbortedException.
|
protected void |
abortIfNeeded()
Aborts with subclass specific abortion logic executed if needed.
|
protected abstract java.io.InputStream |
getWrappedInputStream()
Returns the underlying input stream, if any, from the subclass; or null
if there is no underlying input stream.
|
boolean |
isMetricActivated()
Deprecated.
|
protected abstract java.io.InputStream getWrappedInputStream()
@Deprecated public final boolean isMetricActivated()
MetricAwareisMetricActivated in interface MetricAwareprotected final void abortIfNeeded()
AbortedException - if found necessary.protected void abort()
throws java.io.IOException
java.io.IOException