Class UnaryMethodHandlerSupplier.AbstractUnaryHandler<ReqT,​RespT>

    • Method Detail

      • invoke

        protected io.grpc.stub.StreamObserver<ReqT> invoke​(Method method,
                                                           Object instance,
                                                           io.grpc.stub.StreamObserver<RespT> observer)
        Description copied from class: io.helidon.microprofile.grpc.core.AbstractMethodHandlerSupplier.AbstractHandler
        Invoke the actual client streaming or bi-directional gRPC method handler.
        Specified by:
        invoke in class io.helidon.microprofile.grpc.core.AbstractMethodHandlerSupplier.AbstractHandler<ReqT,​RespT>
        Parameters:
        method - the Method to invoke
        instance - the service instance to invoke the method on
        observer - the method response observer
        Returns:
        the StreamObserver to receive requests from the client