use of org.glassfish.jersey.internal.util.Producer in project jersey by eclipse-ee4j.
the class JerseyInvocation method invoke.
@Override
public Response invoke() throws ProcessingException, WebApplicationException {
final ClientRuntime runtime = request().getClientRuntime();
final RequestScope requestScope = runtime.getRequestScope();
return runInScope(((Producer<Response>) () -> new InboundJaxrsResponse(runtime.invoke(requestForCall(requestContext)), requestScope)), requestScope);
}
Aggregations