Package brave.grpc

Class GrpcClientRequest

    • Method Detail

      • unwrap

        public Object unwrap()
        Returns the call()
        Specified by:
        unwrap in class brave.Request
      • methodDescriptor

        public io.grpc.MethodDescriptor<?,​?> methodDescriptor()
        Returns the method descriptor passed to ClientInterceptor.interceptCall(io.grpc.MethodDescriptor<ReqT, RespT>, io.grpc.CallOptions, io.grpc.Channel).
        Specified by:
        methodDescriptor in interface GrpcRequest
        Since:
        5.12
      • callOptions

        public io.grpc.CallOptions callOptions()
        Returns the call options passed to ClientInterceptor.interceptCall(io.grpc.MethodDescriptor<ReqT, RespT>, io.grpc.CallOptions, io.grpc.Channel).
        Since:
        5.12
      • call

        public io.grpc.ClientCall<?,​?> call()
        Returns the client call generated by Channel.newCall(io.grpc.MethodDescriptor<RequestT, ResponseT>, io.grpc.CallOptions) during ClientInterceptor.interceptCall(io.grpc.MethodDescriptor<ReqT, RespT>, io.grpc.CallOptions, io.grpc.Channel).
        Since:
        5.12
      • headers

        public io.grpc.Metadata headers()
        Returns the headers passed to ClientCall.start(ClientCall.Listener, Metadata).
        Specified by:
        headers in interface GrpcRequest
        Since:
        5.12