Uses of Interface
org.glassfish.jersey.internal.util.Producer
Packages that use Producer
Package
Description
Jersey client-side classes.
Common Jersey internal API classes.
Common Jersey internal processing classes.
Jersey server-side classes.
-
Uses of Producer in org.glassfish.jersey.client
Methods in org.glassfish.jersey.client with parameters of type ProducerModifier and TypeMethodDescriptionprivate <T> T
InboundJaxrsResponse.runInScopeIfPossible
(Producer<T> producer) -
Uses of Producer in org.glassfish.jersey.internal
Methods in org.glassfish.jersey.internal with parameters of type ProducerModifier and TypeMethodDescriptionstatic <T> T
Invoke given producer task and gather errors.private static <T> T
static <T> T
Errors.processWithException
(Producer<T> producer) Invoke given producer task and gather messages. -
Uses of Producer in org.glassfish.jersey.process.internal
Methods in org.glassfish.jersey.process.internal with parameters of type ProducerModifier and TypeMethodDescription<T> T
RequestScope.runInScope
(Producer<T> task) Runs thetask
in the new request scope.<T> T
RequestScope.runInScope
(RequestContext context, Producer<T> task) Runs thetask
in the request scope initialized from thescope context
. -
Uses of Producer in org.glassfish.jersey.server
Methods in org.glassfish.jersey.server with parameters of type ProducerModifier and TypeMethodDescriptionvoid
AsyncContext.invokeManaged
(Producer<javax.ws.rs.core.Response> producer) Invoke the provided response producer in a Jersey-managed asynchronous thread.void
ServerRuntime.AsyncResponder.invokeManaged
(Producer<javax.ws.rs.core.Response> producer)