类 RpcContextInterceptor

    • 构造器详细资料

      • RpcContextInterceptor

        public RpcContextInterceptor()
    • 方法详细资料

      • interceptCall

        public <ReqT,​RespT> io.grpc.ClientCall<ReqT,​RespT> interceptCall​(io.grpc.MethodDescriptor<ReqT,​RespT> method,
                                                                                     io.grpc.CallOptions callOptions,
                                                                                     io.grpc.Channel next)
        指定者:
        interceptCall 在接口中 io.grpc.ClientInterceptor
      • 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)
        指定者:
        interceptCall 在接口中 io.grpc.ServerInterceptor