Annotation 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:
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static interface 
    Allows customizing the error page shown when an annotated method is called with the wrong HTTP method.
    static class