Package | Description |
---|---|
org.glassfish.jersey.client |
Jersey client-side classes.
|
org.glassfish.jersey.internal |
Common Jersey internal API classes.
|
org.glassfish.jersey.process.internal |
Common Jersey internal processing classes.
|
org.glassfish.jersey.server |
Jersey server-side classes.
|
org.glassfish.jersey.server.internal.process |
Jersey server-side internal classes related to request and response processing.
|
Modifier and Type | Method and Description |
---|---|
private <T> T |
InboundJaxrsResponse.runInScopeIfPossible(Producer<T> producer) |
Modifier and Type | Method and Description |
---|---|
static <T> T |
Errors.process(Producer<T> producer)
Invoke given producer task and gather errors.
|
private static <T> T |
Errors.process(Producer<T> task,
boolean throwException) |
static <T> T |
Errors.processWithException(Producer<T> producer)
Invoke given producer task and gather messages.
|
Modifier and Type | Method and Description |
---|---|
<T> T |
RequestScope.runInScope(Producer<T> task)
Runs the
task in the new request scope. |
<T> T |
RequestScope.runInScope(RequestScope.Instance scopeInstance,
Producer<T> task)
Runs the
task in the request scope initialized
from the scope instance . |
Modifier and Type | Method and Description |
---|---|
void |
ServerRuntime.AsyncResponder.invokeManaged(Producer<javax.ws.rs.core.Response> producer) |
Modifier and Type | Method and Description |
---|---|
void |
AsyncContext.invokeManaged(Producer<javax.ws.rs.core.Response> producer)
Invoke the provided response producer in a Jersey-managed asynchronous thread.
|