Package io.camunda.client.impl
Class PhysicalTenantInterceptor
java.lang.Object
io.camunda.client.impl.PhysicalTenantInterceptor
- All Implemented Interfaces:
io.grpc.ClientInterceptor
Sets the
Camunda-Physical-Tenant gRPC metadata header on every outgoing call so the
gateway can route the request to the correct physical tenant partition.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<ReqT,RespT>
io.grpc.ClientCall<ReqT, RespT> interceptCall(io.grpc.MethodDescriptor<ReqT, RespT> method, io.grpc.CallOptions callOptions, io.grpc.Channel next)
-
Constructor Details
-
PhysicalTenantInterceptor
-
-
Method Details
-
interceptCall
public <ReqT,RespT> io.grpc.ClientCall<ReqT,RespT> interceptCall(io.grpc.MethodDescriptor<ReqT, RespT> method, io.grpc.CallOptions callOptions, io.grpc.Channel next) - Specified by:
interceptCallin interfaceio.grpc.ClientInterceptor
-