Generated by
JDiff

Class org.springframework.web.context.request.async.DeferredResult

Documentation changed from old to new.

Changed Constructors
DeferredResult(Long, Object) Documentation changed from old to new.
Create a DeferredResult with a timeout value and a default result to use in case of timeout.
DeferredResult(long) Documentation changed from old to new.
Create a DeferredResult with a timeout value.
 

Removed Methods
Long getTimeoutMilliseconds() Return the configured timeout value in milliseconds.
 

Added Methods
void onCompletion(Runnable) Register code to invoke when the async request completes.
void onTimeout(Runnable) Register code to invoke when the async request times out.
 

Changed Methods
boolean isSetOrExpired() Documentation changed from old to new.
Return {@code true} if this DeferredResult is no longer usable either because it was previously set or because the underlying request expired.
boolean setErrorResult(Object) Documentation changed from old to new.
Set an error value for the DeferredResult and handle it.
boolean setResult(T) Documentation changed from old to new.
Set the value for the DeferredResult and handle it.
void setResultHandler(DeferredResultHandler) Documentation changed from old to new.
Provide a handler to use to handle the result value.