@Override protected HttpSession getSession(boolean create) { HttpServletRequest request = (HttpServletRequest) ServiceContext .getContextRequest(); if (request == null) { throw new IllegalStateException( "Attempt to access HttpSession outside the request scope."); } return request.getSession(create); } }
protected HttpSession getSession(boolean create) { HttpServletRequest request = (HttpServletRequest) ServiceContext .getContextRequest(); if (request == null) { throw new IllegalStateException( "Attempt to access HttpSession outside the request scope."); } return request.getSession(create); }
protected HttpSession getSession(boolean create) { HttpServletRequest request = (HttpServletRequest) ServiceContext .getContextRequest(); if (request == null) { throw new IllegalStateException( "Attempt to access HttpSession outside the request scope."); } return request.getSession(create); }