[
https://issues.apache.org/jira/browse/WW-4835?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16110847#comment-16110847
]
ASF GitHub Bot commented on WW-4835:
------------------------------------
GitHub user lukaszlenart opened a pull request:
https://github.com/apache/struts/pull/158
WW-4835: Configurable handlers
This PR changes API a bit to allow pass current `ActionInvocation` to the
REST content type handlers to allow implement different behaviour based on a
current action.
[WW-4835](https://issues.apache.org/jira/browse/WW-4835)
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/lukaszlenart/struts configurable-handlers
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/struts/pull/158.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #158
----
commit 2f690cfe6260ccdf3aa617baf65a4b836c49cf65
Author: Lukasz Lenart <[email protected]>
Date: 2017-08-02T12:56:09Z
Adds new methods and marks current as deprecated
commit 3bd072ca053aed787f3a16865266d8832fcd18b0
Author: Lukasz Lenart <[email protected]>
Date: 2017-08-02T12:58:15Z
Adds an abstract layer to allow easily handle API change
commit a64da53d5770c5404ee5eb390b826f5733171f5f
Author: Lukasz Lenart <[email protected]>
Date: 2017-08-02T12:59:54Z
Updates flow to handle new API
commit ee5575d0c6b24b7109b6977542bfcc0fac8f85d3
Author: Lukasz Lenart <[email protected]>
Date: 2017-08-02T13:00:01Z
Updates tests
----
> Make REST ContentHandlers configurable
> --------------------------------------
>
> Key: WW-4835
> URL: https://issues.apache.org/jira/browse/WW-4835
> Project: Struts 2
> Issue Type: Improvement
> Components: Plugin - REST
> Affects Versions: 2.5.12
> Reporter: Lukasz Lenart
> Priority: Minor
> Fix For: 2.5.13
>
>
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)