summaryrefslogtreecommitdiffstats
path: root/server
diff options
context:
space:
mode:
authorMarc Englund <marc@vaadin.com>2012-10-15 12:43:49 +0000
committerVaadin Code Review <review@vaadin.com>2012-10-15 12:43:49 +0000
commit63dc0d1c4387036f52c6a8875d2bacd619b422dc (patch)
tree07184e08b91444c5da91907e4e46b45c0ad8b4c1 /server
parentf04b6cbe134d3f1f66c885cd8ad9febef300a31c (diff)
parentcd2317a448dd76954dd23cec1c3aa482dfafdb20 (diff)
downloadvaadin-framework-63dc0d1c4387036f52c6a8875d2bacd619b422dc.tar.gz
vaadin-framework-63dc0d1c4387036f52c6a8875d2bacd619b422dc.zip
Merge "Reuse provided session instead of attempting to find it again (#9888)"
Diffstat (limited to 'server')
-rw-r--r--server/src/com/vaadin/server/AbstractCommunicationManager.java7
1 files changed, 3 insertions, 4 deletions
diff --git a/server/src/com/vaadin/server/AbstractCommunicationManager.java b/server/src/com/vaadin/server/AbstractCommunicationManager.java
index cb41f9338b..293fd002e5 100644
--- a/server/src/com/vaadin/server/AbstractCommunicationManager.java
+++ b/server/src/com/vaadin/server/AbstractCommunicationManager.java
@@ -2430,7 +2430,7 @@ public abstract class AbstractCommunicationManager implements Serializable {
response.setContentType("application/json; charset=UTF-8");
- UI uI = getBrowserDetailsUI(request);
+ UI uI = getBrowserDetailsUI(request, session);
JSONObject params = new JSONObject();
params.put(UIConstants.UI_ID_PARAMETER, uI.getUIId());
@@ -2456,10 +2456,9 @@ public abstract class AbstractCommunicationManager implements Serializable {
}
}
- private UI getBrowserDetailsUI(VaadinRequest request) {
+ private UI getBrowserDetailsUI(VaadinRequest request,
+ VaadinServiceSession session) {
VaadinService vaadinService = request.getService();
- VaadinServiceSession session = VaadinServiceSession.getForSession(
- vaadinService, request.getWrappedSession());
List<UIProvider> uiProviders = session.getUIProviders();