类 GrpcConnectionInterceptor

  • 所有已实现的接口:
    io.grpc.ServerInterceptor

    public class GrpcConnectionInterceptor
    extends java.lang.Object
    implements io.grpc.ServerInterceptor
    GrpcConnectionInterceptor set connection.
    作者:
    Weizhan▪Yun
    • 方法概要

      所有方法 实例方法 具体方法 
      修饰符和类型 方法 说明
      private io.grpc.netty.shaded.io.netty.channel.Channel getInternalChannel​(io.grpc.ServerCall serverCall)  
      <T,​S>
      io.grpc.ServerCall.Listener<T>
      interceptCall​(io.grpc.ServerCall<T,​S> call, io.grpc.Metadata headers, io.grpc.ServerCallHandler<T,​S> next)  
      • 从类继承的方法 java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 构造器详细资料

      • GrpcConnectionInterceptor

        public GrpcConnectionInterceptor()
    • 方法详细资料

      • interceptCall

        public <T,​S> io.grpc.ServerCall.Listener<T> interceptCall​(io.grpc.ServerCall<T,​S> call,
                                                                        io.grpc.Metadata headers,
                                                                        io.grpc.ServerCallHandler<T,​S> next)
        指定者:
        interceptCall 在接口中 io.grpc.ServerInterceptor
      • getInternalChannel

        private io.grpc.netty.shaded.io.netty.channel.Channel getInternalChannel​(io.grpc.ServerCall serverCall)