Annotation Interface Grpc.Unary

Enclosing interface:
Grpc

@Target(METHOD) @Retention(RUNTIME) @GrpcMethod(UNARY) @Documented @Inherited public static @interface Grpc.Unary
An annotation to mark a method as representing a unary gRPC method.
  • Optional Element Summary

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

    • value

      String value
      Obtain the name of the method.

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

      Returns:
      name of the method
      Default:
      ""