org.glassfish.jersey.process.internal
Interface AsyncInflectorAdapter.Builder<REQUEST,RESPONSE>

Type Parameters:
REQUEST - request processing data type.
RESPONSE - response processing data type.
Enclosing class:
AsyncInflectorAdapter<REQUEST,RESPONSE>

public static interface AsyncInflectorAdapter.Builder<REQUEST,RESPONSE>

Asynchronous inflector adapter factory.


Method Summary
 AsyncInflectorAdapter<REQUEST,RESPONSE> create(Inflector<REQUEST,RESPONSE> wrapped, InvocationCallback<RESPONSE> callback)
          Create a new asynchronous inflector adapter for an inflector.
 

Method Detail

create

AsyncInflectorAdapter<REQUEST,RESPONSE> create(Inflector<REQUEST,RESPONSE> wrapped,
                                               InvocationCallback<RESPONSE> callback)
Create a new asynchronous inflector adapter for an inflector.

Parameters:
wrapped - wrapped inflector.
callback - invocation callback.
Returns:
new asynchronous inflector adapter for an inflector.


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