/** * Reads the variables into the HTTP session * * @param request * The physical request * * @throws com.jwebmp.core.exceptions.MissingComponentException * If something is wrong with the page */ @SuppressWarnings("WeakerAccess") protected void readRequestVariables(HttpServletRequest request) throws MissingComponentException { Page currentPage = getPageFromGuice(); HttpSession session = GuiceContext.get(GuicedServletKeys.getHttpSessionKey()); if (currentPage == null) { throw new MissingComponentException("[No Page]-[getPage() returning null in servlet class]"); } if (session.isNew()) { JWDefaultServlet.log.log(Level.FINER, "[SessionID]-[{0}];[Name]-[User Login];[Action]-[Session Page Added];", request.getSession() .getId()); } }
/** * Reads the variables into the HTTP session * * @param request * The physical request * * @throws com.jwebmp.core.exceptions.MissingComponentException * If something is wrong with the page */ @SuppressWarnings("WeakerAccess") protected void readRequestVariables(HttpServletRequest request) throws MissingComponentException { Page currentPage = getPageFromGuice(); HttpSession session = GuiceContext.get(GuicedServletKeys.getHttpSessionKey()); if (currentPage == null) { throw new MissingComponentException("[No Page]-[getPage() returning null in servlet class]"); } if (session.isNew()) { JWDefaultServlet.log.log(Level.FINER, "[SessionID]-[{0}];[Name]-[User Login];[Action]-[Session Page Added];", request.getSession() .getId()); } }
/** * Reads the variables into the HTTP session * * @param request * The physical request * * @throws com.jwebmp.core.exceptions.MissingComponentException * If something is wrong with the page */ @SuppressWarnings("WeakerAccess") protected void readRequestVariables(HttpServletRequest request) throws MissingComponentException { Page currentPage = getPageFromGuice(); HttpSession session = GuiceContext.get(GuicedServletKeys.getHttpSessionKey()); if (currentPage == null) { throw new MissingComponentException("[No Page]-[getPage() returning null in servlet class]"); } if (session.isNew()) { JWDefaultServlet.log.log(Level.FINER, "[SessionID]-[{0}];[Name]-[User Login];[Action]-[Session Page Added];", request.getSession() .getId()); } }