ServletOutputStream | createOutputStream()- Create and return a ServletOutputStream to write the content
associated with this Response.
|
void | finishResponse()- Perform whatever actions are required to flush and close the output
stream or writer, in a single operation.
|
Connector | getConnector()- Return the Connector through which this Response is returned.
|
int | getContentCount()- Return the number of bytes actually written to the output stream.
|
int | getContentLength()- Return the content length that was set or calculated for this Response.
|
String | getContentType()- Return the content type that was set or calculated for this response,
or
null if no content type was set.
|
Context | getContext()- Return the Context with which this Response is associated.
|
boolean | getIncluded()- Return the "processing inside an include" flag.
|
String | getInfo()- Return descriptive information about this Response implementation and
the corresponding version number, in the format
<description>/<version>.
|
PrintWriter | getReporter()- Return a PrintWriter that can be used to render error messages,
regardless of whether a stream or writer has already been acquired.
|
Request | getRequest()- Return the Request with which this Response is associated.
|
ServletResponse | getResponse()- Return the
ServletResponse for which this object
is the facade.
|
OutputStream | getStream()- Return the output stream associated with this Response.
|
boolean | isAppCommitted()- Application commit flag accessor.
|
boolean | isError()- Error flag accessor.
|
boolean | isSuspended()- Suspended flag accessor.
|
void | recycle()- Release all object references, and initialize instance variables, in
preparation for reuse of this object.
|
void | resetBuffer()- Reset the data buffer but not any status or header information.
|
void | sendAcknowledgement()- Send an acknowledgment of a request.
|
void | setAppCommitted(boolean appCommitted)- Set the application commit flag.
|
void | setConnector(Connector connector)- Set the Connector through which this Response is returned.
|
void | setContext(Context context)- Set the Context with which this Response is associated.
|
void | setError()- Set the error flag.
|
void | setIncluded(boolean included)- Set the "processing inside an include" flag.
|
void | setRequest(Request request)- Set the Request with which this Response is associated.
|
void | setStream(OutputStream stream)- Set the output stream associated with this Response.
|
void | setSuspended(boolean suspended)- Set the suspended flag.
|