Class ServerInterceptorAdapter

java.lang.Object
org.apache.arrow.flight.grpc.ServerInterceptorAdapter
All Implemented Interfaces:
io.grpc.ServerInterceptor

public class ServerInterceptorAdapter extends Object implements io.grpc.ServerInterceptor
An adapter between Flight middleware and a gRPC interceptor.

This is implemented as a single gRPC interceptor that runs all Flight server middleware sequentially. Flight middleware instances are stored in the gRPC Context so their state is accessible later.

  • Field Details

  • Constructor Details

  • Method Details

    • interceptCall

      public <ReqT, RespT> io.grpc.ServerCall.Listener<ReqT> interceptCall(io.grpc.ServerCall<ReqT,RespT> call, io.grpc.Metadata headers, io.grpc.ServerCallHandler<ReqT,RespT> next)
      Specified by:
      interceptCall in interface io.grpc.ServerInterceptor