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