Package io.openliberty.grpc.annotation
Annotation Type GrpcService
-
@Target(TYPE) @Retention(RUNTIME) public @interface GrpcService
GrpcService is an optional annotation that specifies a class as a Liberty-managed gRPC service. Classes with this annotation must implementio.grpc.BindableService
.
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description java.lang.Class<? extends io.grpc.ServerInterceptor>[]
interceptors
Specifies theio.grpc.ServerInterceptor
classes to be registered with a service
-