@RequestMapping( value = "/log/{name}", method = RequestMethod.GET, produces = MediaType.APPLICATION_JSON_VALUE) @ResponseBody public List<LogEvent> getLogEvent(@PathVariable String name) { return delegate.getLogEvents(name); }
@RequestMapping( value = "/log/{name}/{after}", method = RequestMethod.GET, produces = MediaType.APPLICATION_JSON_VALUE) @ResponseBody public List<LogEvent> getLogEvent( @PathVariable String name, @PathVariable @DateTimeFormat(iso = ISO.DATE_TIME) Date after) { return delegate.getLogEvents(name, after); }