summaryrefslogtreecommitdiffstats
path: root/server/src/com/vaadin/server/GAEVaadinServlet.java
diff options
context:
space:
mode:
Diffstat (limited to 'server/src/com/vaadin/server/GAEVaadinServlet.java')
-rw-r--r--server/src/com/vaadin/server/GAEVaadinServlet.java9
1 files changed, 5 insertions, 4 deletions
diff --git a/server/src/com/vaadin/server/GAEVaadinServlet.java b/server/src/com/vaadin/server/GAEVaadinServlet.java
index 6c46b0d70b..6c9c1882ea 100644
--- a/server/src/com/vaadin/server/GAEVaadinServlet.java
+++ b/server/src/com/vaadin/server/GAEVaadinServlet.java
@@ -240,7 +240,7 @@ public class GAEVaadinServlet extends VaadinServlet {
}
// de-serialize or create application context, store in session
- VaadinSession ctx = getApplicationContext(request, memcache);
+ VaadinServiceSession ctx = getApplicationContext(request, memcache);
super.service(request, response);
@@ -290,8 +290,9 @@ public class GAEVaadinServlet extends VaadinServlet {
}
}
- protected VaadinSession getApplicationContext(HttpServletRequest request,
- MemcacheService memcache) throws ServletException {
+ protected VaadinServiceSession getApplicationContext(
+ HttpServletRequest request, MemcacheService memcache)
+ throws ServletException {
HttpSession session = request.getSession();
String id = AC_BASE + session.getId();
byte[] serializedAC = (byte[]) memcache.get(id);
@@ -319,7 +320,7 @@ public class GAEVaadinServlet extends VaadinServlet {
ObjectInputStream ois;
try {
ois = new ObjectInputStream(bais);
- VaadinSession applicationContext = (VaadinSession) ois
+ VaadinServiceSession applicationContext = (VaadinServiceSession) ois
.readObject();
applicationContext.storeInSession(getService(),
new WrappedHttpSession(session));