Annotation Type DeleteMapping
Maps an HTTP DELETE to this method.
The path may carry {name} segments, bound with PathVariable.
-
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionString[]Media types the route takes, matched against the request'sContent-Type; a request outside them is answered 415.String[]Media types the route answers with, matched against the request'sAccept; a request that accepts none of them is answered 406.String[]The path, relative to anyRequestMappingon the class.
-
Element Details
-
value
-
consumes
String[] consumesMedia types the route takes, matched against the request'sContent-Type; a request outside them is answered 415. Empty takes any.- Default:
{}
-
produces
String[] producesMedia types the route answers with, matched against the request'sAccept; a request that accepts none of them is answered 406. Empty answers anything. The handler still sets the type of what it returns.- Default:
{}
-