class HttpServletRequestImpl implements HttpServletRequest {

    @Override
    public HttpSession getSession(final boolean create) {
        getSessionInstance();

        if (session == null && create) {
            session = servletContext.createNewSession();
        }

        if (session != null) {
            session.setLastAccessedTime(System.currentTimeMillis());
        }

        return session;
    }

    private  HttpServletRequestImpl();

}