BBjHttpRequest::getContentLength (Deprecated)
BBjHttpRequest::getContentLength is deprecated for BBj 21.00 and higher, and has been replaced by BBxServletRequest::getContentLength.
Description
In BBj 12.00 and higher, this method returns the size in bytes of the body in this BBjHttpRequest.
Syntax
| 
                                                         Return Value  | 
                                                    
                                                         Method  | 
                                                
| 
                                                         int  | 
                                                    
                                                         getContentLength()  | 
                                                
Parameters
None.
Return Value
an int value for the size
Remarks
The example below shows getting the content length of a request within a BBjServlet.
Example
                                                     |