From e8ec921a3cb4d494ccbe9599cdb491a17b993365 Mon Sep 17 00:00:00 2001 From: Artur Signell Date: Thu, 22 Oct 2015 15:13:27 +0300 Subject: [PATCH] Make it possible to intercept RPC calls without copy/paste Change-Id: I50c2e4a95b492a42c4291e8dcbede3de87f1be6f --- WebContent/WEB-INF/web.xml | 14 ++ .../communication/ServerRpcHandler.java | 98 ++++++---- .../communication/UidlRequestHandler.java | 13 +- .../rpclogger/LoggingServerRpcHandler.java | 40 ++++ .../rpclogger/LoggingUidlRequestHandler.java | 28 +++ .../tests/rpclogger/RPCLoggerService.java | 41 ++++ .../tests/rpclogger/RPCLoggerServlet.java | 34 ++++ .../vaadin/tests/rpclogger/RPCLoggerUI.java | 177 ++++++++++++++++++ 8 files changed, 412 insertions(+), 33 deletions(-) create mode 100644 uitest/src/com/vaadin/tests/rpclogger/LoggingServerRpcHandler.java create mode 100644 uitest/src/com/vaadin/tests/rpclogger/LoggingUidlRequestHandler.java create mode 100644 uitest/src/com/vaadin/tests/rpclogger/RPCLoggerService.java create mode 100644 uitest/src/com/vaadin/tests/rpclogger/RPCLoggerServlet.java create mode 100644 uitest/src/com/vaadin/tests/rpclogger/RPCLoggerUI.java 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 @@ true + + RPCLogger + com.vaadin.tests.rpclogger.RPCLoggerServlet + + ui + com.vaadin.tests.rpclogger.RPCLoggerUI + + true +