The Response Object

The response object contains hooks only to the cookies and to the response headers. Everything else will be controlled by the rest of the cocoon pipeline machinery (like output encoding, for example, which should *NOT* be determined by the flow)

---- methods ----

cookies

  • Cookie createCookie(name,value)
  • void addCookie(Cookie cookie);

headers

  • containsHeader(name)
  • setHeader(name,value)
  • addHeader(name,value)

---- properties ----

NONE

  • No labels