public class DefaultClientCallMetadataInjector extends Object implements io.grpc.ClientInterceptor
ClientInterceptor implementation that injects SiLA Metadata in the gRPC context| Constructor and Description |
|---|
DefaultClientCallMetadataInjector() |
| Modifier and Type | Method and Description |
|---|---|
<ReqT,RespT> |
interceptCall(io.grpc.MethodDescriptor<ReqT,RespT> methodDescriptor,
io.grpc.CallOptions callOptions,
io.grpc.Channel channel)
Intercept a call and inject metadata in its context
|
public <ReqT,RespT> io.grpc.ClientCall<ReqT,RespT> interceptCall(io.grpc.MethodDescriptor<ReqT,RespT> methodDescriptor,
io.grpc.CallOptions callOptions,
io.grpc.Channel channel)
interceptCall in interface io.grpc.ClientInterceptorReqT - the request typeRespT - the response typemethodDescriptor - the remote method to be called.callOptions - the runtime options to be applied to this call.channel - the channel which is being intercepted.ForwardingClientCall.SimpleForwardingClientCall with SiLA Metadata contextCopyright © 2024 SiLA Java Developers. All rights reserved.