Beispiel #1
0
 @Override
 public void onError(
     Throwable ex,
     RequestContext requestContext,
     Map<String, String> wireAttrs,
     NextFilter<Request, Response> nextFilter) {
   _rpcFilter.onRpcError(ex, requestContext, wireAttrs, adaptRpcNextFilter(nextFilter));
 }
Beispiel #2
0
 @Override
 public void onResponse(
     Response res,
     RequestContext requestContext,
     Map<String, String> wireAttrs,
     NextFilter<Request, Response> nextFilter) {
   _rpcFilter.onRpcResponse(
       (RpcResponse) res, requestContext, wireAttrs, adaptRpcNextFilter(nextFilter));
 }