Annotation Interface 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.
-
Optional Element Summary
-
Element Details
-
name
String nameObtain the name of the method.If not set the name of the actual annotated method is used.
- Returns:
- name of the method
- Default:
- ""
-