public HttpServletRequest getRequest ( ) { // moved as part of LIDB-3598 to ServletUtil /* ServletRequest r = _req; while (!(r instanceof HttpServletRequest)) { if (r instanceof ServletRequestWrapper) { r = ((ServletRequestWrapper) r).getRequest(); } } return (HttpServletRequest) r; */ //begin 311003, 61FVT:Simple SIP request generating exception ServletRequest sReq = null ; if ( _req == null ) return null ; try { sReq = ServletUtil . unwrapRequest ( _req ) ; } catch ( RuntimeException re ) { if ( com . ibm . ejs . ras . TraceComponent . isAnyTracingEnabled ( ) && logger . isLoggable ( Level . FINE ) ) logger . logp ( Level . FINE , CLASS_NAME , "getRequest" , "Caught RuntimeException unwrapping the request" , re ) ; return null ; } //end 311003, 61FVT:Simple SIP request generating exception if ( sReq instanceof HttpServletRequest ) return ( HttpServletRequest ) sReq ; else return null ; }
Get the request used for the servlet invocation .