BBjHttpRequest::isSecure (Deprecated)
BBjHttpRequest::isSecure is deprecated for BBj 21.00 and higher, and has been replaced by BBxServletRequest::isSecure.
Description
In BBj 12.00 and higher, this method returns a boolean indicating whether this request was made using a secure channel, such as HTTPS.
Syntax
Return Value |
Method |
boolean |
isSecure() |
Parameters
None.
Return Value
a boolean where 0 = request was not made with a secure channel and 1 = request was made with a secure channel.
Remarks
The example below shows testing to see if the request was secure within a BBjServlet.
Example
|