@Inherited @Target(value={TYPE,METHOD}) @Retention(value=RUNTIME) @Documented public @interface Produces
*
/*
.
The Accept
header is used for finding the best Body.Formatter
.
If there isn't a Body.Formatter
a "406 Not Acceptable" response will be
generated.
class Resources { @Produces("application/json") public Object method() { return ...; } }
public abstract String[] value
Copyright © 2015. All rights reserved.