|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.io.InputStream
javax.servlet.ServletInputStream
public abstract class ServletInputStream
Servlets generally read POSTed data with ServletInputStream. ServletInputStream adds a readLine method to the standard InputStream API.
| Constructor Summary | |
|---|---|
protected |
ServletInputStream()
|
| Method Summary | |
|---|---|
int |
readLine(byte[] buffer,
int offset,
int length)
Reads a line from the POST data. |
| Methods inherited from class java.io.InputStream |
|---|
available, close, mark, markSupported, read, read, read, reset, skip |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected ServletInputStream()
| Method Detail |
|---|
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
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||