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
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]