BBjHttpResponse::addHeader (Deprecated)
BBjHttpResponse::addHeader is deprecated for BBj 21.00 and higher, and has been replaced by BBxServletResponse::addHeader.
Description
In BBj 12.00 and higher, this method returns a boolean indicating whether the named response header has already been set.
Syntax
Return Value |
Method |
void |
addHeader(string name, string value) |
Parameters
Parameter |
Description |
name |
Specifies the name of the header. |
value |
Specifies the value for the header. |
Return Value
None.
Remarks
The example below shows how to add a new header.
Example
|