01: /*
02: * All content copyright (c) 2003-2007 Terracotta, Inc., except as may otherwise be noted in a separate copyright
03: * notice. All rights reserved.
04: */
05: package com.terracotta.session;
06:
07: import com.tc.exception.ImplementMe;
08: import com.terracotta.session.util.SessionCookieWriter;
09:
10: import javax.servlet.http.HttpServletRequest;
11: import javax.servlet.http.HttpServletResponse;
12:
13: public class MockSessionManager implements SessionManager {
14:
15: public TerracottaResponse createResponse(TerracottaRequest req,
16: HttpServletResponse response) {
17: throw new ImplementMe();
18: }
19:
20: public SessionCookieWriter getCookieWriter() {
21: throw new ImplementMe();
22: }
23:
24: public Session getSession(SessionId requestedSessionId,
25: HttpServletRequest req, HttpServletResponse res) {
26: throw new ImplementMe();
27: }
28:
29: public Session getSessionIfExists(SessionId requestedSessionId,
30: HttpServletRequest req, HttpServletResponse res) {
31: throw new ImplementMe();
32: }
33:
34: public void postprocess(TerracottaRequest req) {
35: throw new ImplementMe();
36: }
37:
38: public TerracottaRequest preprocess(HttpServletRequest valveReq,
39: HttpServletResponse valveRes) {
40: throw new ImplementMe();
41: }
42:
43: public void remove(Session data, boolean unlock) {
44: //
45: }
46:
47: }
|