Annotation 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
    Modifier and Type
    Required Element
    Description
    Class<? extends Body>[]
    The classes representing the types of bodies that are required for the annotated method or class.
  • Element Details

    • value

      @RequirementStore Class<? extends Body>[] 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.