Java Servlet Programming, 2nd Edition > A. Servlet API Quick Reference > ServletInputStream |
SynopsisClass Name: javax.servlet.ServletInputStream Superclass: java.io.InputStream Immediate Subclasses: None Interfaces Implemented: None Availability: Servlet API 1.0 and later DescriptionProvides an input stream for reading binary data from a client request, including a readLine( ) method for reading data one line at a time. A ServletInputStream is returned by the getInputStream( ) method of ServletRequest. For HTTP servlets the ServletInputStream provides access to the submitted POST data. Class Summarypublic abstract class ServletInputStream extends java.io.InputStream { // Constructors protected ServletInputStream(); // Instance methods public int readLine(byte b[], int off, int len) throws IOException; } ConstructorsServletInputStream()protected ServletInputStream()
Instance MethodsreadLine()public int readLine(byte b[], int off, int len) throws IOException
|