public abstract class ServletInputStream
extends java.io.InputStream
Modifier | Constructor and Description |
---|---|
protected |
ServletInputStream() |
Modifier and Type | Method and Description |
---|---|
int |
readLine(byte[] buffer,
int offset,
int length)
Reads a line from the POST data.
|
public int readLine(byte[] buffer, int offset, int length) throws java.io.IOException
buffer
- buffer to hold the line dataoffset
- offset into the buffer to startlength
- maximum number of bytes to read.java.io.IOException