Annotation Interface PatchMapping
@Target(METHOD)
@Retention(RUNTIME)
@Documented
@RequestMapping(method=PATCH)
public @interface PatchMapping
Annotation for mapping HTTP
PATCH
requests onto specific handler
methods.
Specifically, @PatchMapping
is a composed annotation that
acts as a shortcut for @RequestMapping(method = RequestMethod.PATCH)
.
- Since:
- 4.3
- Author:
- Sam Brannen
- See Also:
-
Optional Element Summary
Modifier and TypeOptional ElementDescriptionString[]
Alias forRequestMapping.consumes()
.String[]
Alias forRequestMapping.headers()
.Alias forRequestMapping.name()
.String[]
Alias forRequestMapping.params()
.String[]
Alias forRequestMapping.path()
.String[]
Alias forRequestMapping.produces()
.String[]
Alias forRequestMapping.value()
.
-
Element Details
-
name
Alias forRequestMapping.name()
.- Default:
- ""
-
value
Alias forRequestMapping.value()
.- Default:
- {}
-
path
Alias forRequestMapping.path()
.- Default:
- {}
-
params
Alias forRequestMapping.params()
.- Default:
- {}
-
headers
Alias forRequestMapping.headers()
.- Default:
- {}
-
consumes
Alias forRequestMapping.consumes()
.- Default:
- {}
-
produces
Alias forRequestMapping.produces()
.- Default:
- {}
-