This is an automated email from the ASF dual-hosted git repository. lukaszlenart pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/struts.git
commit c41a0167ddccbbda7fcacdd691d2b09a9d0de53a Merge: 845ab41 dc645be Author: Lukasz Lenart <[email protected]> AuthorDate: Tue Mar 20 14:59:12 2018 +0100 Merge pull request #179 from yasserzamani/WW-4874 WW-4874 Introduces Async plugin (adds support for async methods) apps/showcase/pom.xml | 5 + .../apache/struts2/showcase/async/AsyncFilter.java | 53 ++++++++ .../struts2/showcase/async/ChatRoomAction.java | 68 ++++++++++ apps/showcase/src/main/resources/struts-async.xml | 49 +++++++ apps/showcase/src/main/resources/struts.xml | 2 + .../src/main/webapp/WEB-INF/decorators/main.jsp | 1 + apps/showcase/src/main/webapp/WEB-INF/web.xml | 25 +++- apps/showcase/src/main/webapp/async/index.html | 119 ++++++++++++++++ .../it/org/apache/struts2/showcase/AsyncTest.java | 30 +++++ .../java/com/opensymphony/xwork2/AsyncManager.java | 35 +++++ .../xwork2/DefaultActionInvocation.java | 91 ++++++++----- .../org/apache/struts2/dispatcher/Dispatcher.java | 12 +- .../struts2/dispatcher/PrepareOperations.java | 9 +- .../xwork2/DefaultActionInvocationTest.java | 90 +++++++++++++ .../apache/struts2/dispatcher/DispatcherTest.java | 30 +++++ .../struts2/dispatcher/PrepareOperationsTest.java | 42 ++++++ plugins/{ => async}/pom.xml | 66 +++------ .../java/org/apache/struts2/async/AsyncAction.java | 71 ++++++++++ .../apache/struts2/async/DefaultAsyncManager.java | 149 +++++++++++++++++++++ plugins/async/src/main/resources/struts-plugin.xml | 29 ++++ .../struts2/async/DefaultAsyncManagerTest.java | 113 ++++++++++++++++ plugins/pom.xml | 1 + pom.xml | 5 + 23 files changed, 1011 insertions(+), 84 deletions(-) -- To stop receiving notification emails like this one, please contact [email protected].
