aboutsummaryrefslogtreecommitdiffstats
path: root/WebContent
diff options
context:
space:
mode:
authorArtur Signell <artur@vaadin.com>2015-10-22 15:13:27 +0300
committerVaadin Code Review <review@vaadin.com>2016-03-05 11:20:23 +0000
commit39640d188b0c7b9964d5df34f97a83839f2b3732 (patch)
treeb18f34910bd9d16aadb7fb003c7be5d37b707525 /WebContent
parent16f9434bee7a8eebaf580d82db25a47e8b24bbdd (diff)
downloadvaadin-framework-39640d188b0c7b9964d5df34f97a83839f2b3732.tar.gz
vaadin-framework-39640d188b0c7b9964d5df34f97a83839f2b3732.zip
Make it possible to intercept RPC calls without copy/paste
Change-Id: I50c2e4a95b492a42c4291e8dcbede3de87f1be6f
Diffstat (limited to 'WebContent')
-rw-r--r--WebContent/WEB-INF/web.xml14
1 files changed, 14 insertions, 0 deletions
diff --git a/WebContent/WEB-INF/web.xml b/WebContent/WEB-INF/web.xml
index 1879175109..0def4001b8 100644
--- a/WebContent/WEB-INF/web.xml
+++ b/WebContent/WEB-INF/web.xml
@@ -109,6 +109,15 @@
</init-param>
<async-supported>true</async-supported>
</servlet>
+ <servlet>
+ <servlet-name>RPCLogger</servlet-name>
+ <servlet-class>com.vaadin.tests.rpclogger.RPCLoggerServlet</servlet-class>
+ <init-param>
+ <param-name>ui</param-name>
+ <param-value>com.vaadin.tests.rpclogger.RPCLoggerUI</param-value>
+ </init-param>
+ <async-supported>true</async-supported>
+ </servlet>
<servlet>
<!-- This servlet is a separate instance for the sole purpose of
@@ -203,6 +212,11 @@
</servlet-mapping>
<servlet-mapping>
+ <servlet-name>RPCLogger</servlet-name>
+ <url-pattern>/rpclogger/*</url-pattern>
+ </servlet-mapping>
+
+ <servlet-mapping>
<servlet-name>VaadinStaticFiles</servlet-name>
<url-pattern>/VAADIN/*</url-pattern>
</servlet-mapping>