net.craftforge.essential.controller.annotations
Annotation Type Produces


@Retention(value=RUNTIME)
@Target(value=METHOD)
public @interface Produces

Indicates the media type(s) of the serialization output of the annotated method.

Since:
27.02.2011
Author:
Christian Bick

Required Element Summary
 String[] value
          The media type(s) of the serialization output (e.g.
 

Element Detail

value

public abstract String[] value
The media type(s) of the serialization output (e.g. "text/xml", "application/xml").

Returns:
The media type(s) as array


Copyright © 2011. All Rights Reserved.