private Context getContext ( ExecutionContext executionContext ) { // Get context id. HttpServletRequest request = executionContext . getActionBeanContext ( ) . getRequest ( ) ; String parameter = request . getParameter ( ID_PARAMETER ) ; // Return context. if ( parameter != null ) { int id = Integer . parseInt ( parameter , 16 ) ; return contexts . get ( id ) ; } return null ; }
Returns wait context based on context id found in request .