@Documented
@Retention(value=RUNTIME)
@Target(value={METHOD,TYPE})
public @interface Consumes
An annotation to indicate the MediaType
s produced by a particular component.
Generally with controllers one can use the consumes
attribute of the Controller
annotation,
however this annotation is more generic and applies to any component
public abstract java.lang.String[] value
MediaType
values that this component is able to consume@AliasFor(annotation=SingleResult.class, member="value") public abstract boolean single
Applies to clients that return reactive types.
This member indicates whether the response handling should stream or wait until the full response is read. Normally this annotation is unnecessary unless the declared type doesn't indicate how many items are emitted.