@Documented @Retention(value=RUNTIME) @Target(value=METHOD) @HttpMethodMapping @Inherited public @interface Get
HttpMethod.GET
.Modifier and Type | Optional Element and Description |
---|---|
String[] |
consumes
The default consumes.
|
boolean |
headRoute |
String[] |
processes
Shortcut that allows setting both the
consumes() and produces() settings to the same media type. |
String[] |
produces |
boolean |
single
|
String |
uri |
String[] |
uris
Only to be used in the context of a server.
|
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=HttpMethodMapping.class,member="uris") @AliasFor(annotation=UriMapping.class,member="uris") public abstract String[] uris
@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