Annotation Interface PatchMapping
Annotation for mapping HTTP
PATCH
requests onto specific handler
methods.
Usage Example:
@RestController
public class MyRestController implements BringServlet {
@PatchMapping(path = "/resource")
public void patchResource(@RequestBody UserDto dto) {
// Your implementation logic here
}
}
- Since:
- 1.0
- Author:
- Blyzhnytsia Team
- See Also:
-
Optional Element Summary
-
Element Details
-
path
String pathThe URL path or pattern for mapping HTTP PATCH requests to the annotated method.- Returns:
- the URL path or pattern for PATCH requests
- Default:
""
-