- 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
-
Element Details
-
value
String valueObtain the name of the method.If not set the name of the actual annotated method is used.
- Returns:
- name of the method
- Default:
""
-