Annotation Interface ResponseStatus


@Retention(RUNTIME) @Target(METHOD) public @interface ResponseStatus
When placed on a resource method, then RESTEasy Reactive will set the HTTP status to the specified value, if the method completes without an exception and if it does not return Response or RestResponse
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    int
     
  • Element Details

    • value

      int value