예제 #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));
 }
예제 #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));
 }