Spring Controller REST methods are by default Asynchronized.
Then what is the purpose of @Async annotation?
@RequestMapping(value = "/status/{id}", method = RequestMethod.GET)
@Async
public Future<Status> getStatus(@PathVariable("id") String id) {
return new AsyncResult<Status>(status);
}
Also what is the role of Future interface and AsyncResult class?