Class ClientInterceptorAdapter

java.lang.Object
org.apache.arrow.flight.grpc.ClientInterceptorAdapter
All Implemented Interfaces:
io.grpc.ClientInterceptor

public class ClientInterceptorAdapter extends Object implements io.grpc.ClientInterceptor
An adapter between Flight client middleware and gRPC interceptors.

This is implemented as a single gRPC interceptor that runs all Flight client middleware sequentially.

  • Constructor Details

  • Method Details

    • interceptCall

      public <ReqT, RespT> io.grpc.ClientCall<ReqT,RespT> interceptCall(io.grpc.MethodDescriptor<ReqT,RespT> method, io.grpc.CallOptions callOptions, io.grpc.Channel next)
      Specified by:
      interceptCall in interface io.grpc.ClientInterceptor