
BBjHttpResponse::getStatus
Description
In BBj 12.0 and higher, this method gets the status code of the BBjHttpResponse object.
Syntax
Return Value |
Method |
int |
getStatus() |
Parameters
None.
Return Value
an integer for current status code for this response
Remarks
The example below shows setting and getting the status code of a response within a BBjServlet.
Example
REM
Obtain the instance of the BBjAPI object |