public class ServletInputStreamImpl extends ServletInputStream
| Constructor and Description |
|---|
ServletInputStreamImpl() |
| Modifier and Type | Method and Description |
|---|---|
int |
available() |
void |
close() |
void |
free() |
void |
init(java.io.InputStream is) |
int |
read()
Reads a byte from the input stream.
|
int |
read(byte[] buf,
int offset,
int len) |
long |
skip(long n) |
java.lang.String |
toString() |
readLinepublic void init(java.io.InputStream is)
public int available()
throws java.io.IOException
available in class java.io.InputStreamjava.io.IOExceptionpublic int read()
throws java.io.IOException
read in class java.io.InputStreamjava.io.IOExceptionpublic int read(byte[] buf,
int offset,
int len)
throws java.io.IOException
read in class java.io.InputStreamjava.io.IOExceptionpublic long skip(long n)
throws java.io.IOException
skip in class java.io.InputStreamjava.io.IOExceptionpublic void close()
throws java.io.IOException
close in interface java.io.Closeableclose in interface java.lang.AutoCloseableclose in class java.io.InputStreamjava.io.IOExceptionpublic void free()
public java.lang.String toString()
toString in class java.lang.Object