Class TestInterceptor

  • All Implemented Interfaces:
    io.grpc.ServerInterceptor

    public class TestInterceptor
    extends Object
    implements io.grpc.ServerInterceptor
    • Constructor Detail

      • TestInterceptor

        public TestInterceptor​(String key)
    • Method Detail

      • contextKey

        public io.grpc.Context.Key<String> contextKey()
      • 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:
        interceptCall in interface io.grpc.ServerInterceptor