public interface AsyncContext extends AsyncResponse
Modifier and Type | Interface and Description |
---|---|
static class |
AsyncContext.State
Asynchronous processing context state.
|
NO_TIMEOUT
Modifier and Type | Method and Description |
---|---|
void |
invokeManaged(Producer<Response> producer)
Invoke the provided response producer in a Jersey-managed asynchronous thread.
|
boolean |
suspend()
Suspend the current asynchronous processing context.
|
cancel, cancel, cancel, isCancelled, isDone, isSuspended, register, register, register, register, resume, resume, setTimeout, setTimeoutHandler
Copyright © 2007-2024, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.