org.glassfish.jersey.process.internal
Interface RequestInvoker.Callback

All Known Implementing Classes:
ResponseProcessor
Enclosing class:
RequestInvoker

public static interface RequestInvoker.Callback

RequestInvoker request transformation callback.

The callback is invoked when the request transformation is terminated either successfully or by a failure.


Method Summary
 void failure(Throwable exception)
          Invoked in case of a transformation failure.
 void result(javax.ws.rs.core.Response response)
          Invoked after a successful request transformation.
 

Method Detail

result

void result(javax.ws.rs.core.Response response)
Invoked after a successful request transformation.

Parameters:
response - request transformation result.

failure

void failure(Throwable exception)
Invoked in case of a transformation failure.

Parameters:
exception - exception describing the failure.


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