EmpireThreadManager.setCurrentRequest( reqObj );
// Call init() if Request Object implements IWebRequest
if (reqObj instanceof WebRequest)
{
RequestContext req = new PortletRequestWrapper(request);
ResponseContext res = new PortletResponseWrapper(response);
return ((WebRequest)reqObj).init( req, res, sessObj );
}
else if (logRequestWarning)
{
log.warn("Request object does not implement IWebRequest!");