Accessing Java EE Scope Objects
From Documentation
Executions
getCurrent
Retrieves the current execution which contains HTTP request/response.
get HttpServletRequest
HttpServletRequest req = (HttpServletRequest)Executions.getCurrent().getNativeRequest()
Sessions
getCurrent
Retrieves the current session.