Annotation Type Consumes
@Repeatable(ConsumesGroup.class) @Retention(RUNTIME) @Target({TYPE,METHOD}) public @interface Consumes
Specifies a media type which would be consumed by the service method or class.
-
Required Element Summary
-
Element Details
-
value
String valueA media type string. For example,application/json; charset=utf-8
application/xml
application/octet-stream
text/html
-