Annotation Type Unary
-
@Target(METHOD) @Retention(RUNTIME) @GrpcMethod(type=UNARY) @Documented @Inherited public @interface Unary
An annotation to mark a method as representing a unary gRPC method.
-
-
Element Detail
-
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:
- ""
-
-