BBjHttpResponse::getHeaderNames (Deprecated)
BBjHttpResponse::getHeaderNames is deprecated for BBj 21.00 and higher, and has been replaced by BBxServletResponse::getHeaderNames.
Description
In BBj 12.00 and higher, this method returns a BBjVector containing the names of the headers of this response.
This method considers only response headers set or added via BBjHttpResponse::setHeader(String, String), BBjHttpResponse::addHeader(java.lang.String, java.lang.String), respectively.
Syntax
Return Value |
Method |
getHeaderNames() |
Parameters
None.
Return Value
a BBjVector containing the header names
Remarks
The example below shows getting the header names and values from a request within a BBjServlet.
Example
|