@Activate(group={"provider","consumer"}) public class RpcContextInterceptor extends Object implements ClientInterceptor, ServerInterceptor
| Constructor and Description |
|---|
RpcContextInterceptor() |
| Modifier and Type | Method and Description |
|---|---|
<ReqT,RespT> |
interceptCall(io.grpc.MethodDescriptor<ReqT,RespT> method,
io.grpc.CallOptions callOptions,
io.grpc.Channel next) |
<ReqT,RespT> |
interceptCall(io.grpc.ServerCall<ReqT,RespT> call,
io.grpc.Metadata headers,
io.grpc.ServerCallHandler<ReqT,RespT> next) |
public <ReqT,RespT> io.grpc.ClientCall<ReqT,RespT> interceptCall(io.grpc.MethodDescriptor<ReqT,RespT> method,
io.grpc.CallOptions callOptions,
io.grpc.Channel next)
interceptCall in interface io.grpc.ClientInterceptorpublic <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 in interface io.grpc.ServerInterceptorCopyright © 2011–2020 The Apache Software Foundation. All rights reserved.