Spring Async Controller
Callable
예제
@RestController
public class AsyncController {
@Autowired
AsyncService asyncService;
@RequestMapping(method=RequestMethod.GET, path="/tests")
public Callable<List<String>> readTests() {
return asyncService::getTests;
}
}내부 동작
유의점
DeferredResult
예제
WebAsyncTask
Exceptions
Interceptor
Last updated
