Annotation Interface Status


@Documented @Retention(RUNTIME) @Target(METHOD) @Executable @Inherited public @interface Status

Sets alternative HttpStatus response code when applied to a method and HttpStatus code is specified.

Since:
1.0
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
     
  • Element Details

    • value

      HttpStatus value
      Returns:
      The HttpStatus specified when declared on the method