Annotation Type GrpcMethod

    • Required Element Summary

      Required Elements 
      Modifier and Type Required Element Description
      io.grpc.MethodDescriptor.MethodType type
      Obtain the gRPC method type.
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      String name
      Obtain the name of the method.
    • Element Detail

      • type

        io.grpc.MethodDescriptor.MethodType type
        Obtain the gRPC method type.
        Returns:
        the gRPC method type
      • name

        String name
        Obtain the name of the method.

        If not set the name of the actual annotated method is used.

        Returns:
        name of the method
        Default:
        ""