public class ServletInputStreamAdapter
extends javax.servlet.ServletInputStream
| Modifier and Type | Field and Description |
|---|---|
protected java.io.InputStream |
inputStream |
| Constructor and Description |
|---|
ServletInputStreamAdapter(java.io.InputStream inputStream) |
| Modifier and Type | Method and Description |
|---|---|
int |
available() |
void |
close() |
boolean |
isFinished() |
boolean |
isReady() |
void |
mark(int readLimit) |
boolean |
markSupported() |
int |
read() |
int |
read(byte[] bytes) |
int |
read(byte[] bytes,
int offset,
int length) |
void |
reset() |
void |
setReadListener(javax.servlet.ReadListener readListener) |
long |
skip(long skip) |
public ServletInputStreamAdapter(java.io.InputStream inputStream)
public int available()
throws java.io.IOException
available 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 boolean isFinished()
isFinished in class javax.servlet.ServletInputStreampublic boolean isReady()
isReady in class javax.servlet.ServletInputStreampublic void mark(int readLimit)
mark in class java.io.InputStreampublic boolean markSupported()
markSupported in class java.io.InputStreampublic int read()
throws java.io.IOException
read in class java.io.InputStreamjava.io.IOExceptionpublic int read(byte[] bytes)
throws java.io.IOException
read in class java.io.InputStreamjava.io.IOExceptionpublic int read(byte[] bytes,
int offset,
int length)
throws java.io.IOException
read in class java.io.InputStreamjava.io.IOExceptionpublic void reset()
throws java.io.IOException
reset in class java.io.InputStreamjava.io.IOExceptionpublic void setReadListener(javax.servlet.ReadListener readListener)
setReadListener in class javax.servlet.ServletInputStreampublic long skip(long skip)
throws java.io.IOException
skip in class java.io.InputStreamjava.io.IOException