Annotation Interface RequireContentType


@Documented @Retention(RUNTIME) @Target({METHOD,TYPE}) @RequirementMeta(type=STORING) public @interface RequireContentType
This annotation can be applied to methods or types to indicate that certain content types are required for processing the request.
Since:
3.0.4-SNAPSHOT
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    Specifies the required content types.
  • Element Details

    • value

      Specifies the required content types.
      Returns:
      An array of strings representing the names of the content types.