Java Reference
In-Depth Information
The
flushBuffer()
method flushes and commits the response.
flushBuffer()
has no parame-
ters and returns no value.
It throws this exception:
•
java.io.IOException
The
getBufferSize()
Method
public int getBufferSize()
The
getBufferSize()
method returns the size of the response buffer.
getBufferSize()
has no
parameters and throws no exceptions.
It returns this value:
•
int
The
getCharacterEncoding()
Method
public java.lang.String getCharacterEncoding()
The
getCharacterEncoding()
method returns the character set encoding used for this
request's body. If there has been no content type assigned, it is, by default, set to text/plain.
getCharacterEncoding()
has no parameters and throws no exceptions.
It returns this value:
•
java.lang.String
The
getLocale()
Method
public Locale getLocale()
The
getLocale()
method returns the current response locale.
getLocale()
has no parameters
and throws no exceptions.
It returns this value:
•
Locale
The
getOutputStream()
Method
public ServletOutputStream getOutputStream()
throws java.io.IOException
The
getOutputStream()
method returns an output stream used for writing binary data to the
response.
getOutputStream()
has no parameters.
It returns this value:
•
ServletOutputStream