Closed
Description
As discussed on the gitter channel with the previous actuator endpoint API I was able to handle DELETE
requests like this:
@ResponseBody
@RequestMapping(value = "/{region:.+}", method = RequestMethod.DELETE)
public CacheRegion purgeSingleCacheRegion(@PathVariable("region") String region)
throws MalformedObjectNameException, AttributeNotFoundException, MBeanException, ReflectionException, InstanceNotFoundException {
but seems like with the current actuator endpoint I can only do @ReadOperation
and @WriteOperation
.
This is an enhancement request to add @DeleteOperation
to the API to be able to handle delete requests too.