BBxServletContext
Description
In BBj 21.00 and higher, the BBxServletContext object provides a context during the execution of a BBxServlet. When a BBxServlet runs, it receives a BBxServletContext object as a parameter in its service method.
The BBxServletContext object provides access to key elements of the BBxServlet and BBjServices, including the BBxServletRequest, BBxServletResponse, and BBxWebSession objects.
Creation
A BBxServletContext object is created when a BBxServlet is launched. It is received as a parameter in the BBxServlet's service method.
Methods of BBxServletContext
Return Value |
Method |
---|---|
String |
|
String |
getInitParameter(String name) |
BBjVector |
|
Example
See Also
See the BBj Object Diagram for an illustration of the relationship between BBj Objects.