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

java.lang.Object
  extended by org.glassfish.jersey.process.internal.ResponseProcessor.Builder
Enclosing class:
ResponseProcessor

public static class ResponseProcessor.Builder
extends java.lang.Object

Response processor builder that enables "assisted" injection of response processor.


Constructor Summary
ResponseProcessor.Builder()
          Default constructor meant to be used by injection framework.
 
Method Summary
 ResponseProcessor build(InvocationCallback callback, RequestScope.Instance scopeInstance)
          Build 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.Builder

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

Method Detail

build

public ResponseProcessor build(InvocationCallback callback,
                               RequestScope.Instance scopeInstance)
Build a response processor for a given request scope instance and invocation callback.

Parameters:
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.