Wombat::Response - internal response interface
This interface extends Servlet::ServletResponse to provide fields and methods accessible only to the container.
Return the Application within which this Response is being generated.
Set the Application within which this Response is being generated. This must be called as soon as the appropriate Application is identified.
Parameters:
the Wombat::Application within which the Response is being generated
Return the Connector through which this Response is returned.
Set the Connector through which this response is returned.
the Wombat::Connector that will return the response
Return the number of bytes actually written to the output stream.
Return a flag indicating whether or not this is an error response.
Set a flag indicating whether or not this is an error response.
a boolean value indicating whether or not this is an error response
Return a flag indicating whether or not this Response is being processed as an include.
Set a flag indicating whether or not this Response is being processed as an include.
a boolean value indicating whether or not this response is included
Return the output handle associated with this Response.
Set the input handle associated with this Response.
the IO::Handle associated with this Response
Return the Request with which this Response is associated.
Set the Request with which this Response is associated.
the Wombat::Request with which this response is associated
Return the ServletResponse which acts as a facade for this Response to servlet applications.
Create and return a Servlet::ServletOutputHandle to write the content associated with this Response.
Throws:
if an input or output error occurs
Perform whatever actions are required to flush and close the output handle or writer.
Return the content length, in bytes, that was set or calculated for this Response.
Return the MIME type that was set or calculated for this response.
Release all object references and initialize instances variables in preparation for use or reuse of this object.
IO::Handle, Servlet::ServletResponse, Servlet::ServletServletOutputHandle, Servlet::Util::Exception, Wombat::Application, Wombat::Connector, Wombat::Request
Brian Moseley, bcm@maz.org
To install Wombat, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Wombat
CPAN shell
perl -MCPAN -e shell install Wombat
For more information on module installation, please visit the detailed CPAN module installation guide.