BBjspWebRequest::isSecure (Deprecated)
The BBJSP system is deprecated. For new development, use BBxServlet.
Description
In BBj 16.0 and higher, this method returns a boolean indicating whether this BBjspWebRequest 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 BBJSP Servlet.
Example
This example demonstrates how this works in a BBJSP web-page
<%@ taglib uri='/WEB-CFG/tld/core.tld' prefix='c' %> |
This example demonstrates how this works in a BBJSP servlet
class public MyServlet |