Annotation Type Post


@Target(METHOD) @Retention(RUNTIME) public @interface Post
Marks a method that handles HTTP POST requests.


  @Post
  void save(Customer customer) {
     ...
  }
 
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    Specify the path.
  • Element Details

    • value

      String value
      Specify the path.
      Default:
      ""