public abstract class ServletInputStream
extends java.io.InputStream
| Modifier | Constructor and Description |
|---|---|
protected |
ServletInputStream ()
Does nothing.
|
| Modifier and Type | Method and Description |
|---|---|
int |
readLine (byte[] buffer,
int offset,
int length)
Reads bytes using the
InputStream.read() method until it reaches the
limit, EOF or an LF character (which will also be placed in the
array). |
available, close, mark, markSupported, read, read, read, reset, skipclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitprotected ServletInputStream()
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 storedoffset - The offset into the array to start storing byteslength - The maximum number of bytes to readjava.io.IOException - If an error occurs.