|
spring-web | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.springframework.web.context.request.async.AsyncExecutionChainRunnable
public class AsyncExecutionChainRunnable
A Runnable for invoking a chain of Callable instances and completing async request processing while also dealing with any unhandled exceptions.
AsyncExecutionChain.startCallableChainProcessing()
,
AsyncExecutionChain.startDeferredResultProcessing(DeferredResult)
Constructor Summary | |
---|---|
AsyncExecutionChainRunnable(AsyncWebRequest asyncWebRequest,
java.util.concurrent.Callable<?> callable)
Class constructor. |
Method Summary | |
---|---|
void |
run()
Run the async execution chain and complete the async request. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AsyncExecutionChainRunnable(AsyncWebRequest asyncWebRequest, java.util.concurrent.Callable<?> callable)
asyncWebRequest
- the async requestcallable
- the async execution chainMethod Detail |
---|
public void run()
A StaleAsyncWebRequestException
is logged at debug level and
absorbed while any other unhandled Exception
results in a 500
response code.
run
in interface java.lang.Runnable
|
spring-web | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |