public class ServletInputStreamImpl
extends javax.servlet.ServletInputStream
| Modifier | Constructor and Description |
|---|---|
protected |
ServletInputStreamImpl(HttpServletRequestImpl servletRequest) |
| Modifier and Type | Method and Description |
|---|---|
int |
available() |
void |
close()
Close the stream
Since we re-cycle, we can't allow the call to super.close()
which would permanently disable us.
|
void |
initialize() |
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 readListener) |
long |
skip(long n) |
protected ServletInputStreamImpl(HttpServletRequestImpl servletRequest)
public void initialize()
throws IOException
IOExceptionpublic int read()
throws IOException
read in class InputStreamIOExceptionpublic int available()
throws IOException
available in class InputStreamIOExceptionpublic int read(byte[] b)
throws IOException
read in class InputStreamIOExceptionpublic int read(byte[] b,
int off,
int len)
throws IOException
read in class InputStreamIOExceptionpublic long skip(long n)
throws IOException
skip in class InputStreamIOExceptionpublic void mark(int readlimit)
mark in class InputStreampublic void reset()
throws IOException
reset in class InputStreamIOExceptionpublic boolean markSupported()
markSupported in class InputStreampublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class InputStreamIOExceptionpublic boolean isFinished()
isFinished in class javax.servlet.ServletInputStreampublic boolean isReady()
isReady in class javax.servlet.ServletInputStreampublic void setReadListener(javax.servlet.ReadListener readListener)
setReadListener in class javax.servlet.ServletInputStreamCopyright © 2023 Oracle Corporation. All Rights Reserved.