@Documented @Retention(value=RUNTIME) @Target(value=METHOD) public @interface Status
Sets alternative HttpStatus response code when applied to a method and HttpStatus code is specified.
Modifier and Type | Required Element and Description |
---|---|
HttpStatus |
value |
public abstract HttpStatus value