Class GrpcValidationProvider
java.lang.Object
io.helidon.webserver.grpc.validation.GrpcValidationProvider
- All Implemented Interfaces:
ConfiguredProvider<GrpcServerService>, GrpcServerServiceProvider
Provider for gRPC validation support.
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ConfiguredProvider
createModifier and TypeMethodDescriptiondefault GrpcServerServicecreate(Config config, String name, ServiceRegistry serviceRegistry) Create a new instance from configuration using services from the registry which owns the configured instance.
-
Constructor Details
-
GrpcValidationProvider
public GrpcValidationProvider()Create a new provider for gRPC validation support.
-
-
Method Details
-
configKey
Description copied from interface:ConfiguredProviderKey this service implementation is stored under. This is also considered the service "type" when used in a list in configuration, to allow the same service defined more than once.- Specified by:
configKeyin interfaceConfiguredProvider<GrpcServerService>- Returns:
- key of this implementation
-
create
Description copied from interface:ConfiguredProviderCreate a new instance from the configuration located on the provided node.- Specified by:
createin interfaceConfiguredProvider<GrpcServerService>- Parameters:
config- located atConfiguredProvider.configKey()nodename- name of the configured implementation- Returns:
- a new instance created from this config node
-