Browse files

Update to match class name change in spring-web

  • Loading branch information...
1 parent 3d10278 commit 8fdf953e4ea0016c8730bdc4099b32ba38ccb137 @rstoyanchev rstoyanchev committed Nov 28, 2012
Showing with 3 additions and 3 deletions.
  1. +3 −3 src/main/java/org/springframework/samples/mvc/async/CallableController.java
View
6 src/main/java/org/springframework/samples/mvc/async/CallableController.java
@@ -8,7 +8,7 @@
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.ResponseBody;
-import org.springframework.web.context.request.async.MvcAsyncTask;
+import org.springframework.web.context.request.async.WebAsyncTask;
@Controller
@RequestMapping("/async/callable")
@@ -61,7 +61,7 @@ public String call() throws Exception {
}
@RequestMapping("/custom-timeout-handling")
- public @ResponseBody MvcAsyncTask<String> callableWithCustomTimeoutHandling() {
+ public @ResponseBody WebAsyncTask<String> callableWithCustomTimeoutHandling() {
Callable<String> callable = new Callable<String>() {
@Override
@@ -71,7 +71,7 @@ public String call() throws Exception {
}
};
- return new MvcAsyncTask<String>(1000, callable);
+ return new WebAsyncTask<String>(1000, callable);
}
@ExceptionHandler

0 comments on commit 8fdf953

Please sign in to comment.