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?
>
GitHub user lukaszlenart opened a pull request:
https://github.com/apache/struts/pull/8
HttpInterceptor
New annotation and interceptor to allow limit access to action based on
used http request type, ie:
@GetOnly
public class MyAction extends ActionSupport {