public abstract class ServletInputStream extends java.io.InputStream
|Modifier||Constructor and Description|
|Modifier and Type||Method and Description|
Reads bytes using the
available, close, mark, markSupported, read, read, read, reset, skip
public int readLine(byte buffer, int offset, int length) throws java.io.IOException
InputStream.read()method until it reaches the limit, EOF or an LF character (which will also be placed in the array). Returns -1 if EOF is reached.
buffer- The array into which the bytes read should be stored
offset- The offset into the array to start storing bytes
length- The maximum number of bytes to read
java.io.IOException- If an error occurs.