Package org.kohsuke.stapler.interceptor
Annotation Type RequirePOST
-
@Retention(RUNTIME) @Target({METHOD,FIELD}) @InterceptorAnnotation(Processor.class) public @interface RequirePOST
Requires the request to be a POST.When the current request has a non-matching HTTP method (such as 'GET'), this annotation will send a failure response instead of searching for other matching web methods.
- Since:
- 1.180
- Author:
- Kohsuke Kawaguchi
- See Also:
POST