org.glassfish.jersey.process.internal
Interface ResponseProcessor.Builder<DATA>
- Type Parameters:
DATA - processed data type.
- All Known Implementing Classes:
- ResponseProcessor.ResponseBuilder
- Enclosing class:
- ResponseProcessor<DATA>
public static interface ResponseProcessor.Builder<DATA>
Response processor factory.
build
ResponseProcessor<DATA> build(java.util.concurrent.Future<DATA> inflectedResponse,
InvocationCallback<DATA> callback,
RequestScope.Instance scopeInstance)
- Create a response processor for a given request scope instance
and invocation callback.
- 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.