spring-boot-starter-webmvc Maven dependency.
TodoService class to TodoProxy.
findTodo and updateTodo methods catch the HttpClientErrorException.NotFound exception, get the problem detail using the getResponseBodyAs method and rethrow a TodoNotFoundException.
new SpringApplicationBuilder(Application.class).web(NONE).run(args);