[ 
http://www.stripesframework.org/jira/browse/STS-774?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ben Gunter updated STS-774:
---------------------------

    Fix Version/s: Release 1.5.5

> Resolve event handler by HTTP verb (RestBinding)
> ------------------------------------------------
>
>                 Key: STS-774
>                 URL: http://www.stripesframework.org/jira/browse/STS-774
>             Project: Stripes
>          Issue Type: New Feature
>            Reporter: Evan Leonard
>             Fix For: Release 1.5.5
>
>         Attachments: RestBinding_annotation.patch
>
>
> Attached is a patch that enables one to bind a rest verb to a specific 
> handler in your ActionBean. An example:
> @UrlBinding("/RestAction")
> public class RestActionBean implements ActionBean {
>   @RestBinding("PUT")
>    public Resolution myPutHandler() {
>        log.info("Got a Put");
>        return null;
>    }
> }
> Now if you send a PUT request to "/yourapp/RestAction", it will be routed to 
> the "myPutHandler" method. 
> The patch needs a little review & clean-up before committing. Ben's had at 
> least a quick look at it at this point.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://www.stripesframework.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

------------------------------------------------------------------------------
The Next 800 Companies to Lead America's Growth: New Video Whitepaper
David G. Thomson, author of the best-selling book "Blueprint to a 
Billion" shares his insights and actions to help propel your 
business during the next growth cycle. Listen Now!
http://p.sf.net/sfu/SAP-dev2dev
_______________________________________________
Stripes-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-development

Reply via email to