Class DecoratedInterceptor
java.lang.Object
io.camunda.zeebe.gateway.interceptors.impl.DecoratedInterceptor
- All Implemented Interfaces:
io.grpc.ServerInterceptor
Decorates third-party interceptors in order to ensure that the thread context class loader is
correctly set (required for interceptors loaded from external, isolated JARs).
-
Method Summary
Modifier and TypeMethodDescriptionstatic DecoratedInterceptordecorate(io.grpc.ServerInterceptor interceptor) <ReqT,RespT>
io.grpc.ServerCall.Listener<ReqT>interceptCall(io.grpc.ServerCall<ReqT, RespT> call, io.grpc.Metadata headers, io.grpc.ServerCallHandler<ReqT, RespT> next)
-
Method Details
-
decorate
-
interceptCall
public <ReqT,RespT> io.grpc.ServerCall.Listener<ReqT> interceptCall(io.grpc.ServerCall<ReqT, RespT> call, io.grpc.Metadata headers, io.grpc.ServerCallHandler<ReqT, RespT> next) - Specified by:
interceptCallin interfaceio.grpc.ServerInterceptor
-