Have not worked much with convention plugin. Do we have anything like above
at method level inside actions?
Something like method={RequestMethod.GET, RequestMethod.POST}

I have used such convention in Spring-MVC and it seems good and seems more
Readableto me.

I would love to have such option in convention plugin than Interceptor.



On Tue, Apr 22, 2014 at 12:27 PM, Lukasz Lenart <[email protected]>wrote:

> Hi,
>
> During Easters I have developed such a thing, it's possible to limit
> access to given action based on request type, ie. @GetOnly, @PostOnly
> and @AllowedHttpMethod({GET, POST, PUT}), wdyt?
>
> https://issues.apache.org/jira/browse/WW-4328
>
> I'm going prepare a PR (which is a better way to perform review) as
> soon repo will be synced
>
>
> Regards
> --
> Ɓukasz
> + 48 606 323 122 http://www.lenart.org.pl/
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>


-- 
With Regards
Umesh Awasthi
http://www.travellingrants.com/

Reply via email to