Package brave.grpc

Class GrpcServerRequest

    • Method Detail

      • call

        public io.grpc.ServerCall<?,​?> call()
        Returns the server call passed to ServerInterceptor.interceptCall(io.grpc.ServerCall<ReqT, RespT>, io.grpc.Metadata, io.grpc.ServerCallHandler<ReqT, RespT>).
        Since:
        5.12
      • methodDescriptor

        public io.grpc.MethodDescriptor<?,​?> methodDescriptor()
        Returns ServerCall.getMethodDescriptor()} from the call().
        Specified by:
        methodDescriptor in interface GrpcRequest
        Since:
        5.12
      • headers

        public io.grpc.Metadata headers()
        Returns the headers passed to ServerInterceptor.interceptCall(io.grpc.ServerCall<ReqT, RespT>, io.grpc.Metadata, io.grpc.ServerCallHandler<ReqT, RespT>).
        Specified by:
        headers in interface GrpcRequest
        Since:
        5.12