BBxServletRequest
Description
In BBj 21.00 and higher, this class provides request information for a BBxServlet.
Creation
BBjAPI > BBjAdmin > BBjJettyServerConfiguration > BBjJettyContextConfiguration > BBxServlet > BBxServletContext > BBxServletRequest
A BBxServletRequest object is created by Jetty when the BBxServlet runs, and can be retrieved through the following BBxServletContext method:
| Return Value | Method |
|---|---|
| BBxServletResponse | getRequest() |
Methods of BBxServletRequest
| Return Value | Method |
|---|---|
|
Object |
getAttribute(string name) |
| BBjVector | getAttributeNames() |
|
string |
|
| string | getBody() |
|
string |
|
|
int |
|
|
string |
|
|
string |
|
| BBjVector | getCookies() |
|
long |
getDateHeader(string name) |
| BBjFileUpload | getFileUpload(string fieldName) |
| BBjVector | getFileUploads() |
| BBjVector | getFileUploads(string fieldName) |
|
string |
getHeader(string name) |
| BBjVector | getHeaderNames() |
| BBjVector | getHeaders(string name) |
| HttpServletRequest | getHttpServletRequest() |
|
string |
|
|
Locale |
|
| BBjVector | getLocales() |
|
string |
|
|
int |
|
|
string |
|
|
string |
getParameter(string name) |
| BBjVector | |
|
BBjVector |
getParameterValues(string name) |
|
string |
|
|
string |
|
|
string |
|
|
string |
|
|
string |
|
|
int |
|
|
string |
|
|
string |
|
|
string |
|
|
string |
|
|
string |
|
|
string |
|
|
int |
|
|
string |
|
|
boolean |
|
|
boolean |
|
|
boolean |
|
|
boolean |
isSecure() |
|
void |
removeAttribute(string name) |
|
void |
setAttribute(string name, Object obj) |
Remarks
Many methods of BBxServletRequest are inherited from the Java HttpServletRequest object. See the corresponding Java documentation for additional information on these methods.