Class VertxStorkMeasuringGrpcInterceptor

  • All Implemented Interfaces:
    io.grpc.ClientInterceptor, jakarta.enterprise.inject.spi.Prioritized

    @ApplicationScoped
    public class VertxStorkMeasuringGrpcInterceptor
    extends Object
    implements io.grpc.ClientInterceptor, jakarta.enterprise.inject.spi.Prioritized
    Similar to StorkMeasuringGrpcInterceptor, but with different entry points, since we use delayed StorkGrpcChannel.
    • Constructor Detail

      • VertxStorkMeasuringGrpcInterceptor

        public VertxStorkMeasuringGrpcInterceptor()
    • Method Detail

      • 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:
        interceptCall in interface io.grpc.ClientInterceptor
      • getPriority

        public int getPriority()
        Specified by:
        getPriority in interface jakarta.enterprise.inject.spi.Prioritized