Uses of Interface
io.helidon.grpc.server.ServiceDescriptor.Rules
Package
Description
Classes to support adding metrics to gRPC calls.
Reactive gRPC server API.
Integration library for
GrpcServer
.-
Uses of ServiceDescriptor.Rules in io.helidon.grpc.metrics
-
Uses of ServiceDescriptor.Rules in io.helidon.grpc.server
Modifier and TypeMethodDescriptionServiceDescriptor.Rules.addContextValue
(io.grpc.Context.Key<V> key, V value) Add value to theContext
for the service.<ReqT,
ResT>
ServiceDescriptor.RulesServiceDescriptor.Rules.bidirectional
(String name, io.grpc.stub.ServerCalls.BidiStreamingMethod<ReqT, ResT> method) Register bi-directional streaming method for the service.<ReqT,
ResT>
ServiceDescriptor.RulesServiceDescriptor.Rules.bidirectional
(String name, io.grpc.stub.ServerCalls.BidiStreamingMethod<ReqT, ResT> method, MethodDescriptor.Configurer<ReqT, ResT> configurer) Register bi-directional streaming method for the service.<ReqT,
ResT>
ServiceDescriptor.RulesServiceDescriptor.Rules.clientStreaming
(String name, io.grpc.stub.ServerCalls.ClientStreamingMethod<ReqT, ResT> method) Register client streaming method for the service.<ReqT,
ResT>
ServiceDescriptor.RulesServiceDescriptor.Rules.clientStreaming
(String name, io.grpc.stub.ServerCalls.ClientStreamingMethod<ReqT, ResT> method, MethodDescriptor.Configurer<ReqT, ResT> configurer) Register client streaming method for the service.ServiceDescriptor.Rules.healthCheck
(HealthCheck healthCheck) Register the serviceHealthCheck
.ServiceDescriptor.Rules.intercept
(int priority, io.grpc.ServerInterceptor... interceptors) Add one or moreServerInterceptor
instances that will intercept calls to this service.ServiceDescriptor.Rules.intercept
(io.grpc.ServerInterceptor... interceptors) Add one or moreServerInterceptor
instances that will intercept calls to this service.ServiceDescriptor.Rules.intercept
(String methodName, int priority, io.grpc.ServerInterceptor... interceptors) Register one or moreinterceptors
for a named method of the service.Register one or moreinterceptors
for a named method of the service.ServiceDescriptor.Rules.marshallerSupplier
(MarshallerSupplier marshallerSupplier) Register theMarshallerSupplier
for the service.Set the name for the service.ServiceDescriptor.Rules.proto
(com.google.protobuf.Descriptors.FileDescriptor proto) Register the proto for the service.<ReqT,
ResT>
ServiceDescriptor.RulesServiceDescriptor.Rules.serverStreaming
(String name, io.grpc.stub.ServerCalls.ServerStreamingMethod<ReqT, ResT> method) Register server streaming method for the service.<ReqT,
ResT>
ServiceDescriptor.RulesServiceDescriptor.Rules.serverStreaming
(String name, io.grpc.stub.ServerCalls.ServerStreamingMethod<ReqT, ResT> method, MethodDescriptor.Configurer<ReqT, ResT> configurer) Register server streaming method for the service.<ReqT,
ResT>
ServiceDescriptor.RulesRegister unary method for the service.<ReqT,
ResT>
ServiceDescriptor.RulesServiceDescriptor.Rules.unary
(String name, io.grpc.stub.ServerCalls.UnaryMethod<ReqT, ResT> method, MethodDescriptor.Configurer<ReqT, ResT> configurer) Register unary method for the service.Modifier and TypeMethodDescriptionvoid
ServiceDescriptor.Configurer.configure
(ServiceDescriptor.Rules rules) Apply extra configuration to aServiceDescriptor.Rules
.void
GrpcService.update
(ServiceDescriptor.Rules rules) Update service configuration. -
Uses of ServiceDescriptor.Rules in io.helidon.security.integration.grpc
Modifier and TypeMethodDescriptionvoid
GrpcSecurity.configure
(ServiceDescriptor.Rules rules) If theGrpcSecurity.config
field is set then modify theServiceDescriptor.Rules
with any applicable security configuration.void
GrpcSecurityHandler.configure
(ServiceDescriptor.Rules rules) Modifies aServiceDescriptor.Rules
to add thisGrpcSecurityHandler
.