net.craftforge.essential.controller.annotations
Annotation Type Consumes
@Retention(value=RUNTIME)
@Target(value=METHOD)
public @interface Consumes
Indicates the media type(s) of the input being consumed by the annotated method.
- Since:
- 27.02.2011
- Author:
- Christian Bick
|
Required Element Summary |
String[] |
value
The media type(s) of the input being consumed (e.g. |
value
public abstract String[] value
- The media type(s) of the input being consumed (e.g. "text/xml", "application/xml").
- Returns:
- The media type(s) as array
Copyright © 2011. All Rights Reserved.