org.jboss.resteasy.spi.AsynchronousResponse Maven / Gradle / Ivy
The newest version!
package org.jboss.resteasy.spi;
import javax.ws.rs.core.Response;
/**
* This is injected into a jax-rs method via the @Suspend annotation.
*
* It allows you to asynchronously send a response in another thread.
*
* @author Bill Burke
* @version $Revision: 1 $
*
* @deprecated Replaced by javax.ws.rs.container.AsyncResponse
*
* @see javax.ws.rs.container.AsyncResponse
*/
@Deprecated
public interface AsynchronousResponse
{
void setResponse(Response response);
}