Uses of Record Class
org.springframework.grpc.server.service.GrpcServiceInfo
Packages that use GrpcServiceInfo
Package
Description
gRPC service discovery and configuration.
-
Uses of GrpcServiceInfo in org.springframework.grpc.server.service
Methods in org.springframework.grpc.server.service that return GrpcServiceInfoModifier and TypeMethodDescriptionstatic @Nullable GrpcServiceInfoGrpcServiceInfo.from(@Nullable GrpcService grpcService) Construct a service info from aGrpcServiceannotation.@Nullable GrpcServiceInfoGrpcServiceSpec.serviceInfo()Returns the value of theserviceInforecord component.static GrpcServiceInfoGrpcServiceInfo.withInterceptorNames(List<String> interceptorNames) Construct a service info with the specified interceptors names.static GrpcServiceInfoGrpcServiceInfo.withInterceptors(List<Class<? extends io.grpc.ServerInterceptor>> interceptors) Construct a service info with the specified interceptors.Constructors in org.springframework.grpc.server.service with parameters of type GrpcServiceInfoModifierConstructorDescriptionGrpcServiceSpec(io.grpc.BindableService service, @Nullable GrpcServiceInfo serviceInfo) Creates an instance of aGrpcServiceSpecrecord class.