Brian Moseley > Wombat > Wombat::HttpResponse

Download:
Wombat-0.7.1.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Source  

NAME ^

Wombat::HttpResponse - internal http response interface

SYNOPSIS ^

DESCRIPTION ^

This interface extends Servlet::Http::HttpServletResponse and Wombat::Response to provide fields and methods accessible only to the container.

PUBLIC METHODS ^

getCookies()

Return the list of Cookies for this Response.

getHeader($name)

Return the value for the first occurrence of the named response header. For all values, use getHeaderValues().

Parameters:

$name

the header name

getHeaderNames()

Return a list of all the header names set for this Response.

getHeaderValues($name)

Return the list of values for the named response header.

Parameters:

$name

the header name

getMessage()

Return the status message for this Response.

getStatus()

Return the HTTP status code for this Response.

SEE ALSO ^

Wombat::Response

AUTHOR ^

Brian Moseley, bcm@maz.org

syntax highlighting: