public MockHttpSession() { resetAll(); }
public MockHttpSession() { resetAll(); }
public MockHttpSession() { resetAll(); }
public HttpSession getSession(boolean create) { if(!create && !sessionCreated) return null; if(create) { sessionCreated = true; if(session instanceof MockHttpSession) { if(!((MockHttpSession)session).isValid()) { ((MockHttpSession)session).resetAll(); } } } return session; }