Package org.springframework.web.context.request.async

Examples of org.springframework.web.context.request.async.WebAsyncManager


          throws NestedServletException {

        assertTrue(TransactionSynchronizationManager.hasResource(sf));
        count.incrementAndGet();

        WebAsyncManager asyncManager = WebAsyncUtils.getAsyncManager(request);
        asyncManager.setTaskExecutor(new SyncTaskExecutor());
        asyncManager.setAsyncWebRequest(asyncWebRequest);
        try {
          asyncManager.startCallableProcessing(new Callable<String>() {
            @Override
            public String call() throws Exception {
              return "anything";
            }
          });
View Full Code Here

TOP

Related Classes of org.springframework.web.context.request.async.WebAsyncManager

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.