public abstract @interface

ResponseStatus

implements Annotation
org.springframework.web.bind.annotation.ResponseStatus

Class Overview

Marks a method or exception class with the status code and reason that should be returned. The status code is applied to the HTTP response when the handler method is invoked, or whenever said exception is thrown.

Summary

[Expand]
Inherited Methods
From interface java.lang.annotation.Annotation