BBjHttpRequest::setAttribute (Deprecated)
BBjHttpRequest::setAttribute is deprecated for BBj 21.00 and higher, and has been replaced by BBxServletRequest::setAttribute.
Description
In BBj 15.00 and higher, this method stores an attribute in this request. Attributes are reset between requests. This method is most often used in conjunction with BBjHttpResponse::sendRedirect.
Attribute names should follow the same conventions as package names. If the object passed in is null(), the effect is the same as calling BBjHttpRequest::removeAttribute(String).
Syntax
Return Value |
Method |
void |
setAttribute(string name, Object value) |
Parameters
Parameter |
Description |
name |
A String specifying the name of the attribute. |
value |
The Object to be stored. |
Return Value
None.
Remarks
None.
Example
|