public class ContextToHeadersInterceptor extends Object implements io.grpc.ClientInterceptor
| Constructor and Description |
|---|
ContextToHeadersInterceptor() |
| Modifier and Type | Method and Description |
|---|---|
<ReqT,RespT> |
interceptCall(io.grpc.MethodDescriptor<ReqT,RespT> method,
io.grpc.CallOptions callOpts,
io.grpc.Channel next) |
static void |
setCurrentCtx(Context ctx) |
public static void setCurrentCtx(Context ctx)
public <ReqT,RespT> io.grpc.ClientCall<ReqT,RespT> interceptCall(io.grpc.MethodDescriptor<ReqT,RespT> method,
io.grpc.CallOptions callOpts,
io.grpc.Channel next)
interceptCall in interface io.grpc.ClientInterceptorCopyright © 2023. All rights reserved.