ServletInputStream Class


ServletInputStream class offers circulation to study binary facts which includes photographs etc. from the request object. It is a summary class.

The getInputStream() approach of ServletRequest interface returns the example of ServletInputStream magnificence. So may be get as:

ServletInputStream sin=request.getInputStream(); 

Ways of ServletInputStream Class

There is only one way is defined in the ServletInputStream Class.

int readLine(byte[] b, int off, int len) it reads the input stream.