|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--java.io.InputStream
|
+--javax.servlet.ServletInputStream
Servlets generally read POSTed data with ServletInputStream. ServletInputStream adds a readLine method to the standard InputStream API.
| Constructor Summary | |
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 |
public 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.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||