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.
-
-
Element Detail
-
value
String value
A media type string. For example,application/json; charset=utf-8
application/xml
application/octet-stream
text/html
-
-