@Target(value=METHOD) @Retention(value=RUNTIME) @Documented @RequestMapping(method=PUT) public @interface PutMapping
PUT
requests onto specific handler
methods.
Specifically, @PutMapping
is a composed annotation that
acts as a shortcut for @RequestMapping(method = RequestMethod.PUT)
.
GetMapping
,
PostMapping
,
DeleteMapping
,
PatchMapping
,
RequestMapping
Modifier and Type | Optional Element and Description |
---|---|
java.lang.String[] |
consumes
Alias for
RequestMapping.consumes() . |
java.lang.String[] |
headers
Alias for
RequestMapping.headers() . |
java.lang.String |
name
Alias for
RequestMapping.name() . |
java.lang.String[] |
params
Alias for
RequestMapping.params() . |
java.lang.String[] |
path
Alias for
RequestMapping.path() . |
java.lang.String[] |
produces
Alias for
RequestMapping.produces() . |
java.lang.String[] |
value
Alias for
RequestMapping.value() . |
@AliasFor(annotation=RequestMapping.class) public abstract java.lang.String name
RequestMapping.name()
.@AliasFor(annotation=RequestMapping.class) public abstract java.lang.String[] value
RequestMapping.value()
.@AliasFor(annotation=RequestMapping.class) public abstract java.lang.String[] path
RequestMapping.path()
.@AliasFor(annotation=RequestMapping.class) public abstract java.lang.String[] params
RequestMapping.params()
.@AliasFor(annotation=RequestMapping.class) public abstract java.lang.String[] headers
RequestMapping.headers()
.@AliasFor(annotation=RequestMapping.class) public abstract java.lang.String[] consumes
RequestMapping.consumes()
.@AliasFor(annotation=RequestMapping.class) public abstract java.lang.String[] produces
RequestMapping.produces()
.