NAME
Apache::Wombat::Response - Apache connector response class
SYNOPSIS
DESCRIPTION
Apache connector response class. Extends Wombat::Connector::HttpResponseBase. Overrides many superclass methods to delegate to an underlying Apache::Request instance.
CONSTRUCTOR
METHODS
- addDateHeader($name, $date)
-
Add a date value for the named response header to the Apache headers_out table.
Parameters:
- setDateHeader($name, $date)
-
Set the date value for the named response header in the Apache headers_out table.
Parameters:
- addHeader($name, $value)
-
Add a value for the named response header to the Apache headers_out table.
Parameters:
- getHeader($name)
-
Return the first value for the named response header from the Apache headers_out table.
- getHeaderNames()
-
Return the names of all the response headers from the Apache headers_out table.
- getHeaders($name)
-
Return the list of values for the named response header from the Apache headers_out table.
Parameters:
- setHeader($name, $value)
-
Set the value for the named response header in the Apache headers_out table.
Parameters:
- clearHeaders()
-
Unset all response headers from the Apache headers_out table.
- getStatus()
-
Return the HTTP status code for this Response.
- setStatus($code)
-
Set the status code for this response.
Parameters:
PACKAGE METHODS
- sendHeaders()
-
Direct Apache API to send a response header, committing the response. Usually doesn't need to be called by other classes, but will be called the first time the buffer is flushed.
- getRequestRec()
-
Return the Apache request record for this Request.
- setRequestRec($apr)
-
Set the Apache request record for this Request.
Parameters:
- recycle()
-
Release all object references and initialize instances variables in preparation for use or reuse of this object.
SEE ALSO
Apache, Apache::Request, Apache::Table, Apache::Util, Wombat::Connector::HttpResponseBase
AUTHOR
Brian Moseley, bcm@maz.org