Annotation Interface RequireBody
@Documented
@Retention(RUNTIME)
@Target({METHOD,TYPE})
@RequirementMeta(type=STORING)
public @interface RequireBody
Annotation used to indicate that a request handler method requires specific types of request bodies.
This annotation can be applied to methods or classes to specify the required body types.
- Since:
- 3.0.4-SNAPSHOT
-
Required Element Summary
Required Elements
-
Element Details
-
value
The classes representing the types of bodies that are required for the annotated method or class.- Returns:
- An array of body types that are required.
-