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