Re: HttpMethodInterceptor

2014-04-23 Thread Lukasz Lenart
PR for review https://github.com/apache/struts/pull/8 2014-04-22 8:57 GMT+02:00 Lukasz Lenart : > 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? >

Re: HttpMethodInterceptor

2014-04-22 Thread Lukasz Lenart
2014-04-22 9:26 GMT+02:00 Umesh Awasthi : > Nothing against Interceptor :) > Just method level annotation will give more readability (my assumption) > > I would love to have an interceptor and a method level annotations.But I > believe it is a matter of choice only. But you have, you can annotate

Re: HttpMethodInterceptor

2014-04-22 Thread Umesh Awasthi
Nothing against Interceptor :) Just method level annotation will give more readability (my assumption) I would love to have an interceptor and a method level annotations.But I believe it is a matter of choice only. On Tue, Apr 22, 2014 at 12:50 PM, Lukasz Lenart wrote: > 2014-04-22 9:15 GMT+02:

Re: HttpMethodInterceptor

2014-04-22 Thread Lukasz Lenart
2014-04-22 9:15 GMT+02:00 Umesh Awasthi : > 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 >

Re: HttpMethodInterceptor

2014-04-22 Thread Umesh Awasthi
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 c