Java Reference
In-Depth Information
It throws this exception:
B
java.io.IOException
The getWriter() Method
public java.io.PrintWriter getWriter()
throws java.io.IOException
The getWriter() method returns a print writer used for writing formatted text to the response
object. getWriter() has no parameters.
It returns this value:
java.io.PrintWriter
It throws this exception:
java.io.IOException
The isCommitted() Method
public boolean isCommitted()
The isCommitted() method returns true if part of the response has already been sent.
isCommitted() has no parameters and throws no exceptions.
It returns this value:
boolean
The reset() Method
public void reset()
The reset() method empties the response buffer and clears the response headers. reset() has
no parameters, returns no value, and throws no exceptions.
The setBufferSize() Method
public void setBufferSize(int size)
The setBufferSize() method sets the size of the response buffer. setBufferSize() returns
no value and throws no exceptions.
It has one parameter:
int
The setContentLength() Method
public void setContentLength(int len)
 
Search WWH ::




Custom Search