public final class DelegatingServletInputStream
extends javax.servlet.ServletInputStream
Constructor and Description |
---|
DelegatingServletInputStream(java.io.InputStream delegate) |
Modifier and Type | Method and Description |
---|---|
int |
available() |
void |
close() |
boolean |
equals(java.lang.Object obj) |
int |
hashCode() |
boolean |
isFinished() |
boolean |
isReady() |
void |
mark(int readlimit) |
boolean |
markSupported() |
int |
read() |
int |
read(byte[] b) |
int |
read(byte[] b,
int off,
int len) |
void |
reset() |
void |
setReadListener(javax.servlet.ReadListener arg0) |
long |
skip(long n) |
java.lang.String |
toString() |
public DelegatingServletInputStream(java.io.InputStream delegate)
public int available() throws java.io.IOException
available
in class java.io.InputStream
java.io.IOException
InputStream.available()
public void close() throws java.io.IOException
close
in interface java.io.Closeable
close
in interface java.lang.AutoCloseable
close
in class java.io.InputStream
java.io.IOException
InputStream.close()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
obj
- Object.equals(java.lang.Object)
public int hashCode()
hashCode
in class java.lang.Object
Object.hashCode()
public void mark(int readlimit)
mark
in class java.io.InputStream
readlimit
- InputStream.mark(int)
public boolean markSupported()
markSupported
in class java.io.InputStream
InputStream.markSupported()
public int read() throws java.io.IOException
read
in class java.io.InputStream
java.io.IOException
InputStream.read()
public int read(byte[] b, int off, int len) throws java.io.IOException
read
in class java.io.InputStream
b
- off
- len
- java.io.IOException
InputStream.read(byte[], int, int)
public int read(byte[] b) throws java.io.IOException
read
in class java.io.InputStream
b
- java.io.IOException
InputStream.read(byte[])
public void reset() throws java.io.IOException
reset
in class java.io.InputStream
java.io.IOException
InputStream.reset()
public long skip(long n) throws java.io.IOException
skip
in class java.io.InputStream
n
- java.io.IOException
InputStream.skip(long)
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean isFinished()
isFinished
in class javax.servlet.ServletInputStream
public boolean isReady()
isReady
in class javax.servlet.ServletInputStream
public void setReadListener(javax.servlet.ReadListener arg0)
setReadListener
in class javax.servlet.ServletInputStream
arg0
-