From 798f8fa2aea057be146f9f56305d80a10b4d78f4 Mon Sep 17 00:00:00 2001 From: Henri Sara Date: Tue, 14 Apr 2015 14:02:32 +0300 Subject: Use VaadinRequest/Response for static resources (#17462) Change-Id: I324bb6b6eb9a72eda02c5308cc6c2284094ce4b8 --- server/src/com/vaadin/server/VaadinServlet.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'server') diff --git a/server/src/com/vaadin/server/VaadinServlet.java b/server/src/com/vaadin/server/VaadinServlet.java index aa76dc8e08..3eb2ce24c1 100644 --- a/server/src/com/vaadin/server/VaadinServlet.java +++ b/server/src/com/vaadin/server/VaadinServlet.java @@ -336,11 +336,11 @@ public class VaadinServlet extends HttpServlet implements Constants { return; } - if (isStaticResourceRequest(request)) { + if (isStaticResourceRequest(vaadinRequest)) { // Define current servlet and service, but no request and response getService().setCurrentInstances(null, null); try { - serveStaticResources(request, response); + serveStaticResources(vaadinRequest, vaadinResponse); return; } finally { CurrentInstance.clearAll(); -- cgit v1.2.3