[jira] [Updated] (WW-3717) Http Method as part of action mapping
[ https://issues.apache.org/jira/browse/WW-3717?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Lukasz Lenart updated WW-3717: -- Fix Version/s: 7.0.0 (was: 6.1.0) > Http Method as part of action mapping > - > > Key: WW-3717 > URL: https://issues.apache.org/jira/browse/WW-3717 > Project: Struts 2 > Issue Type: New Feature > Components: Dispatch Filter, XML Configuration > Environment: All >Reporter: Jeremy Norman >Priority: Major > Labels: restful > Fix For: 7.0.0 > > > Struts action configuration (and dispatcher) should allow discrimination of > actions based on the HTTP method. This would allow generic REST style > interfaces (in excess of the rest plugin). > e.g. > {code:xml} > ... > ... > {code} > This is helpful when combined with regex patternmatcher for custom restful > urls > e.g. > {code:xml} > > {code} -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Updated] (WW-3717) Http Method as part of action mapping
[ https://issues.apache.org/jira/browse/WW-3717?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Lukasz Lenart updated WW-3717: -- Description: Struts action configuration (and dispatcher) should allow discrimination of actions based on the HTTP method. This would allow generic REST style interfaces (in excess of the rest plugin). e.g. {code:xml} ... ... {code} This is helpful when combined with regex patternmatcher for custom restful urls e.g. {code:xml} {code} was: Struts action configuration (and dispatcher) should allow discrimination of actions based on the HTTP method. This would allow generic REST style interfaces (in excess of the rest plugin). e.g. ... ... This is helpful when combined with regex patternmatcher for custom restful urls e.g. > Http Method as part of action mapping > - > > Key: WW-3717 > URL: https://issues.apache.org/jira/browse/WW-3717 > Project: Struts 2 > Issue Type: New Feature > Components: Dispatch Filter, XML Configuration > Environment: All >Reporter: Jeremy Norman >Priority: Major > Labels: restful > Fix For: 6.1.0 > > > Struts action configuration (and dispatcher) should allow discrimination of > actions based on the HTTP method. This would allow generic REST style > interfaces (in excess of the rest plugin). > e.g. > {code:xml} > ... > ... > {code} > This is helpful when combined with regex patternmatcher for custom restful > urls > e.g. > {code:xml} > > {code} -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Updated] (WW-3717) Http Method as part of action mapping
[ https://issues.apache.org/jira/browse/WW-3717?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jeremy Norman updated WW-3717: -- The intent here is that different http-methods could route to different actions, rather than different methods. This allows the option for differentiation between aggregate actions and single entity actions. By allowing this in struts.xml, it allows more plugin integration (spring object factories, tiles, etc) For example: action /{someConventionPluginStuff:\w+}/index http-method=get class={1}_aggregate_action method=index / action /{someConventionPluginStuff:\w+}/index http-method=post class={1}_edit_action method=create / action /{someConventionPluginStuff:\w+}/{id:\d+} http-method=get class={1}_edit_action method=load / etc Http Method as part of action mapping - Key: WW-3717 URL: https://issues.apache.org/jira/browse/WW-3717 Project: Struts 2 Issue Type: New Feature Components: Dispatch Filter, XML Configuration Environment: All Reporter: Jeremy Norman Labels: restful Fix For: 3.x Struts action configuration (and dispatcher) should allow discrimination of actions based on the HTTP method. This would allow generic REST style interfaces (in excess of the rest plugin). e.g. action name=action1 http-method=get ... action name=action1 http-method=post ... This is helpful when combined with regex patternmatcher for custom restful urls e.g. action name=/{entity:\w+}/{id:\d+}/{report:\w+} http-method=get -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (WW-3717) Http Method as part of action mapping
[ https://issues.apache.org/jira/browse/WW-3717?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Lukasz Lenart updated WW-3717: -- Fix Version/s: 3.x Http Method as part of action mapping - Key: WW-3717 URL: https://issues.apache.org/jira/browse/WW-3717 Project: Struts 2 Issue Type: New Feature Components: Dispatch Filter, XML Configuration Environment: All Reporter: Jeremy Norman Labels: restful Fix For: 3.x Struts action configuration (and dispatcher) should allow discrimination of actions based on the HTTP method. This would allow generic REST style interfaces (in excess of the rest plugin). e.g. action name=action1 http-method=get ... action name=action1 http-method=post ... This is helpful when combined with regex patternmatcher for custom restful urls e.g. action name=/{entity:\w+}/{id:\d+}/{report:\w+} http-method=get -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira