Is this right way to get HttpServletRequest using CDI in a non Bean
HttpServletRequest request = CDI.current().select(HttpServletRequest.class).get();
Edit :
I want to access the HttpServletRequest for logging session session information like username etc.