Annotation Interface RequestMethod


Specifies the HTTP request methods that are supported by the service method. This annotation can be applied to methods or classes.
Since:
2.3.0-SNAPSHOT
See Also:
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    Defines the HTTP request methods that are supported.
  • Element Details

    • value

      Defines the HTTP request methods that are supported. By default, it includes POST and GET methods.
      Returns:
      An array of HTTP methods.
      Default:
      {POST, GET}