Package io.helidon.grpc.server
Annotation Type RpcMethod
-
@Target({TYPE,METHOD}) @Retention(RUNTIME) public @interface RpcMethod
An annotation to mark a class as representing a gRPC service or a method as a gRPC service method.
-
-
Required Element Summary
Required Elements Modifier and Type Required Element Description io.grpc.MethodDescriptor.MethodTypetypeObtain the gRPC method type.
-
-
-
-
name
String name
Obtain the name of the service or method.- Returns:
- name of the service or method
- Default:
- ""
-
-