public interface AsyncContext
extends javax.ws.rs.container.AsyncResponse
Modifier and Type | Interface and Description |
---|---|
static class |
AsyncContext.State
Asynchronous processing context state.
|
Modifier and Type | Method and Description |
---|---|
void |
invokeManaged(org.glassfish.jersey.internal.util.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(org.glassfish.jersey.internal.util.Producer<javax.ws.rs.core.Response> producer)
producer
- response producer.Copyright © 2007-2021, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.