| java.lang.Object java.io.InputStream javax.servlet.ServletInputStream
ServletInputStream | abstract public class ServletInputStream extends InputStream (Code) | | Servlets generally read POSTed data with ServletInputStream.
ServletInputStream adds a readLine method to the standard InputStream
API.
|
Method Summary | |
public int | readLine(byte[] buffer, int offset, int length) Reads a line from the POST data.
Parameters: buffer - buffer to hold the line data Parameters: offset - offset into the buffer to start Parameters: length - maximum number of bytes to read. |
readLine | public int readLine(byte[] buffer, int offset, int length) throws IOException(Code) | | Reads a line from the POST data.
Parameters: buffer - buffer to hold the line data Parameters: offset - offset into the buffer to start Parameters: length - maximum number of bytes to read. number of bytes read or -1 on the end of line. |
|
|