类 GrpcConnectionInterceptor
- java.lang.Object
-
- com.alibaba.nacos.core.remote.grpc.GrpcConnectionInterceptor
-
- 所有已实现的接口:
io.grpc.ServerInterceptor
public class GrpcConnectionInterceptor extends java.lang.Object implements io.grpc.ServerInterceptorGrpcConnectionInterceptor set connection.- 作者:
- Weizhan▪Yun
-
-
构造器概要
构造器 构造器 说明 GrpcConnectionInterceptor()
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 private io.grpc.netty.shaded.io.netty.channel.ChannelgetInternalChannel(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)
-
-
-
方法详细资料
-
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)
-
-