public interface AsyncContext
extends javax.ws.rs.container.AsyncResponse
| Modifier and Type | Interface and Description |
|---|---|
static class |
AsyncContext.Factory
Asynchronous processing context injection factory. |
static class |
AsyncContext.State
Asynchronous processing context state.
|
| Modifier and Type | Method and Description |
|---|---|
void |
invokeManaged(Producer<javax.ws.rs.core.Response> producer)
Invoke the provided response producer in a Jersey-managed asynchronous thread.
|
boolean |
suspend()
Suspend the current asynchronous processing context.
|
boolean suspend()
true if the context has been successfully suspended,
false otherwise.true if the request processing has been suspended successfully suspended,
false otherwise.void invokeManaged(Producer<javax.ws.rs.core.Response> producer)
producer - response producer.Copyright © 2007-2013, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.