summaryrefslogtreecommitdiffstats
path: root/uitest/src/com/vaadin/tests/Parameters.java
diff options
context:
space:
mode:
authorLeif Åstrand <leif@vaadin.com>2012-09-27 16:14:07 +0300
committerLeif Åstrand <leif@vaadin.com>2012-09-28 14:14:33 +0300
commitaf8fb8ddd2ab54c08a8ac2c120a8d357c98057ec (patch)
treec32c0abdadecc7d2af43abdb03cf907feb043af2 /uitest/src/com/vaadin/tests/Parameters.java
parent01ff5a924b8fdeeda8cbd21973fc1ecd206ef043 (diff)
downloadvaadin-framework-af8fb8ddd2ab54c08a8ac2c120a8d357c98057ec.tar.gz
vaadin-framework-af8fb8ddd2ab54c08a8ac2c120a8d357c98057ec.zip
Rename VaadinSession -> VaadinServiceSession (#9733)
Change-Id: I4472cebf2f9f4cf3e0dea31a0dda8dc892323c5c
Diffstat (limited to 'uitest/src/com/vaadin/tests/Parameters.java')
-rw-r--r--uitest/src/com/vaadin/tests/Parameters.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/uitest/src/com/vaadin/tests/Parameters.java b/uitest/src/com/vaadin/tests/Parameters.java
index 45a3ae311a..dd7f6a1a7e 100644
--- a/uitest/src/com/vaadin/tests/Parameters.java
+++ b/uitest/src/com/vaadin/tests/Parameters.java
@@ -25,7 +25,7 @@ import com.vaadin.server.ExternalResource;
import com.vaadin.server.RequestHandler;
import com.vaadin.server.VaadinRequest;
import com.vaadin.server.VaadinResponse;
-import com.vaadin.server.VaadinSession;
+import com.vaadin.server.VaadinServiceSession;
import com.vaadin.ui.Label;
import com.vaadin.ui.Layout.MarginHandler;
import com.vaadin.ui.Link;
@@ -56,7 +56,7 @@ public class Parameters extends com.vaadin.LegacyApplication implements
setMainWindow(main);
// This class acts both as URI handler and parameter handler
- VaadinSession.getCurrent().addRequestHandler(this);
+ VaadinServiceSession.getCurrent().addRequestHandler(this);
final VerticalLayout layout = new VerticalLayout();
final Label info = new Label("To test URI and Parameter Handlers, "
@@ -106,8 +106,8 @@ public class Parameters extends com.vaadin.LegacyApplication implements
}
@Override
- public boolean handleRequest(VaadinSession session, VaadinRequest request,
- VaadinResponse response) throws IOException {
+ public boolean handleRequest(VaadinServiceSession session,
+ VaadinRequest request, VaadinResponse response) throws IOException {
context.setValue("Context not available");
relative.setValue(request.getRequestPathInfo());