Annotation Interface RestResponse
This annotation type is used for annotating responses for RESTful query. This annotation type needs to be kept until
runtime.
-
Required Element Summary
Required Elements
-
Element Details
-
responseCode
int responseCode- Returns:
- a HTTP response code, such as 200, 400 etc. Developer should use constants in javax.servlet.http.HttpServletResponse instead of magic numbers.
-
description
String description- Returns:
- a description of the response.
-