TODAY JAVA SCHOOL

In java school, programming, design, computer general knowledge, web application, software, web services, social media, digital marketing, oops, concept of programming language, oops feature, console media, graphics medium, first programming, c, c ++ , Java, PHP, SQL, MySQL, HTML, HTML_5, J_query, JavaScript, Bootstrap, Framework, images with logos, examples, shared and explained.

https://www.amazon.in/b?node=26373545031&linkCode=ll2&tag=1234567801cdb-21&linkId=3b9882431b00409b44141e0344b35a15&language=en_IN&ref_=as_li_ss_tl

Breaking

Thursday, 16 April 2020

ServletInputStream Class In Java | Explain ServletInputStream Class In Java

ServletInputStream class

ServletInputStream class provides stream to read binary data such as image etc. from the request object. It is an abstract class.
The getInputStream() method of ServletRequest interface returns the instance of ServletInputStream class.
image or example of servletinputstream class

Fig: Servletinputstream class in java 



Example:

   ServletInputStream sin=request.getInputStream();
  

Method of ServletInputStream class

There are only one method defined in the ServletInputStream class.
1)int readLine(byte[] b, int off, int len) it reads the input stream.

No comments:

Post a Comment