Package io.openliberty.grpc.annotation
Annotation Type GrpcService
GrpcService is an optional annotation that specifies a class as a Liberty-managed gRPC service.
Classes with this annotation must implement
io.grpc.BindableService
.-
Optional Element Summary
Modifier and TypeOptional ElementDescriptionClass<? extends io.grpc.ServerInterceptor>[]
Specifies theio.grpc.ServerInterceptor
classes to be registered with a service
-
Element Details
-
interceptors
Class<? extends io.grpc.ServerInterceptor>[] interceptorsSpecifies theio.grpc.ServerInterceptor
classes to be registered with a service- Default:
- {}
-