Example usage for Java javax.servlet ServletInputStream fields, constructors, methods, implement or subclass
The text is from its open source code.
ServletInputStream() Does nothing, because this is an abstract class. |
int | available() Returns an estimate of the number of bytes that can be read (or skipped over) from this input stream without blocking, which may be 0, or 0 when end of stream is detected. |
void | close() Closes this input stream and releases any system resources associated with the stream. |
boolean | isFinished() Returns true when all the data from the stream has been read else it returns false. |
boolean | isReady() Returns true if data can be read without blocking else returns false. |
void | mark(int readlimit) Marks the current position in this input stream. |
boolean | markSupported() Tests if this input stream supports the mark and reset methods. |
int | read(byte b[]) Reads some number of bytes from the input stream and stores them into the buffer array b . |
int | read(byte b[], int off, int len) Reads up to len bytes of data from the input stream into an array of bytes. |
int | read() Reads the next byte of data from the input stream. |
int | readLine(byte[] b, int off, int len) Reads the input stream, one line at a time. |
void | reset() Repositions this stream to the position at the time the mark method was last called on this input stream. |
void | setReadListener(ReadListener readListener) Instructs the ServletInputStream to invoke the provided ReadListener when it is possible to read |