@Documented @Retention(value=RUNTIME) @Target(value=METHOD) @HttpMethodMapping public @interface Get
HttpMethod.GET
.Modifier and Type | Optional Element and Description |
---|---|
String[] |
consumes
The default consumes.
|
String[] |
processes
Shortcut that allows setting both the
consumes() and produces() settings to the same media type. |
String[] |
produces |
boolean |
single
|
String |
uri |
String |
value |
@AliasFor(annotation=HttpMethodMapping.class,member="value") @AliasFor(annotation=UriMapping.class,member="value") public abstract String value
@AliasFor(annotation=HttpMethodMapping.class,member="value") @AliasFor(annotation=UriMapping.class,member="value") public abstract String uri
@AliasFor(annotation=Produces.class, member="value") public abstract String[] produces
@AliasFor(annotation=Consumes.class, member="value") public abstract String[] consumes
@AliasFor(annotation=Produces.class,member="value") @AliasFor(annotation=Consumes.class,member="value") public abstract String[] processes
consumes()
and produces()
settings to the same media type.@AliasFor(annotation=Produces.class,member="single") @AliasFor(annotation=Consumes.class,member="single") @AliasFor(annotation=SingleResult.class,member="value") public abstract boolean single