Hi All,

Attached is a patch to the 1.5.x branch that adds support for a new annotation; 
@RestBinding.

Here's a sample of its usage:

@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. Would someone have a look and see if this is up to 
snuff for a commit?

Thanks in advance,
Evan







------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
Stripes-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-development

Reply via email to