class DetectorController {

    @PostMapping(path = "/trustDetector")
    @ResponseStatus(HttpStatus.OK)
    public void trustDetector(@RequestParam String uuid, @RequestParam Boolean trusted) {
        Assert.notNull(uuid, "uuid can't be null");
        Assert.notNull(trusted, "trusted can't be null");
        service.trustDetector(uuid, trusted);
    }

}