Annotation Interface Consumes


Specifies a media type which would be consumed by the service method or class.
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    A media type string.
  • Element Details

    • value

      String value
      A media type string. For example,
      • application/json; charset=utf-8
      • application/xml
      • application/octet-stream
      • text/html