The provided response data can be of any Java type that can be returned from a {@link javax.ws.rs.HttpMethod JAX-RS resource method}. The processing of the data by JAX-RS framework follows the same path as it would for the response data returned synchronously by a JAX-RS resource method. The asynchronous response must be still in a {@link #isSuspended() suspended} statefor this method to succeed.
@param response data to be sent back in response to the suspended request. @return {@code true} if the request processing has been resumed, returns {@code false} in casethe request processing is not {@link #isSuspended() suspended} and could not be resumed. @see #resume(Throwable)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|