org.glassfish.jersey.process.internal
Class ResponseProcessor.ResponseBuilder

java.lang.Object
  extended by org.glassfish.jersey.process.internal.ResponseProcessor.ResponseBuilder
All Implemented Interfaces:
ResponseProcessor.Builder<Response>
Enclosing class:
ResponseProcessor<DATA>

public static class ResponseProcessor.ResponseBuilder
extends java.lang.Object
implements ResponseProcessor.Builder<Response>

Response processor builder for JAX-RS response data type.


Constructor Summary
ResponseProcessor.ResponseBuilder()
          Default constructor meant to be used by injection framework.
 
Method Summary
 ResponseProcessor<Response> build(java.util.concurrent.Future<Response> inflectedResponse, InvocationCallback<Response> callback, RequestScope.Instance scopeInstance)
          Create a response processor for a given request scope instance and invocation callback.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResponseProcessor.ResponseBuilder

public ResponseProcessor.ResponseBuilder()
Default constructor meant to be used by injection framework.

Method Detail

build

public ResponseProcessor<Response> build(java.util.concurrent.Future<Response> inflectedResponse,
                                         InvocationCallback<Response> callback,
                                         RequestScope.Instance scopeInstance)
Description copied from interface: ResponseProcessor.Builder
Create a response processor for a given request scope instance and invocation callback.

Specified by:
build in interface ResponseProcessor.Builder<Response>
Parameters:
inflectedResponse - inflected response data future.
callback - the invocation callback to be invoked once the response processing has finished.
scopeInstance - the instance of the request scope this processor belongs to.
Returns:
new response processor instance.


Copyright © 2007-2012 Oracle Corporation. All Rights Reserved. Use is subject to license terms.