org.glassfish.jersey.process.internal
Interface ResponseProcessor.Builder<DATA>
- Type Parameters:
DATA - processed data type.
- Enclosing class:
- ResponseProcessor<DATA>
public static interface ResponseProcessor.Builder<DATA>
Response processor factory.
build
ResponseProcessor<DATA> build(Future<DATA> inflectedResponse,
com.google.common.util.concurrent.SettableFuture<DATA> processedResponse,
InvocationCallback<DATA> callback,
RequestScope.Instance scopeInstance)
- Create a new response processor for a given request / response message exchange.
- Parameters:
inflectedResponse - inflected response data future.processedResponse - settable future that will be used to set the response
processing result.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.