You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@struts.apache.org by lu...@apache.org on 2017/08/03 14:05:04 UTC

[5/5] struts git commit: WW-4835 Allows REST handlers to be configurable per action

WW-4835 Allows REST handlers to be configurable per action


Project: http://git-wip-us.apache.org/repos/asf/struts/repo
Commit: http://git-wip-us.apache.org/repos/asf/struts/commit/c2aeaf2e
Tree: http://git-wip-us.apache.org/repos/asf/struts/tree/c2aeaf2e
Diff: http://git-wip-us.apache.org/repos/asf/struts/diff/c2aeaf2e

Branch: refs/heads/master
Commit: c2aeaf2eadb6ac5bbd64b5c2646a96d0f14265bd
Parents: 5678ff7 ee5575d
Author: Lukasz Lenart <lu...@apache.org>
Authored: Thu Aug 3 16:04:53 2017 +0200
Committer: Lukasz Lenart <lu...@apache.org>
Committed: Thu Aug 3 16:04:53 2017 +0200

----------------------------------------------------------------------
 .../struts2/rest/ContentTypeHandlerManager.java |  7 ++++
 .../struts2/rest/ContentTypeInterceptor.java    |  2 +-
 .../rest/DefaultContentTypeHandlerManager.java  | 21 ++++++++--
 .../struts2/rest/RestActionInvocation.java      |  2 +-
 .../struts2/rest/RestWorkflowInterceptor.java   |  2 +-
 .../handler/AbstractContentTypeHandler.java     | 44 ++++++++++++++++++++
 .../rest/handler/ContentTypeHandler.java        | 16 ++++++-
 .../rest/handler/FormUrlEncodedHandler.java     |  8 ++--
 .../struts2/rest/handler/HtmlHandler.java       |  8 ++--
 .../struts2/rest/handler/JacksonLibHandler.java |  7 ++--
 .../struts2/rest/handler/JsonLibHandler.java    |  7 ++--
 .../rest/handler/MultipartFormDataHandler.java  |  8 ++--
 .../struts2/rest/handler/XStreamHandler.java    |  7 ++--
 .../rest/ContentTypeHandlerManagerTest.java     | 22 +++++++---
 .../DefaultContentTypeHandlerManagerTest.java   |  8 ++--
 .../rest/RestWorkflowInterceptorTest.java       |  1 -
 .../rest/handler/JacksonLibHandlerTest.java     |  9 ++--
 .../rest/handler/JsonLibHandlerTest.java        |  7 ++--
 18 files changed, 143 insertions(+), 43 deletions(-)
----------------------------------------------------------------------