
BBjHttpRequest::isSecure
Description
In BBj 12.0 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
|