Interface GrpcSecurityServiceConfig
- All Superinterfaces:
Prototype.Api
- All Known Implementing Classes:
GrpcSecurityServiceConfig.BuilderBase.GrpcSecurityServiceConfigImpl
Configuration of gRPC service security.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic classFluent API builder forGrpcSecurityServiceConfig.static classGrpcSecurityServiceConfig.BuilderBase<BUILDER extends GrpcSecurityServiceConfig.BuilderBase<BUILDER,PROTOTYPE>, PROTOTYPE extends GrpcSecurityServiceConfig> Fluent API builder base forGrpcSecurityServiceConfig. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()Create a new fluent API builder to customize configuration.builder(GrpcSecurityServiceConfig instance) Create a new fluent API builder from an existing instance.static GrpcSecurityServiceConfigDeprecated.static GrpcSecurityServiceConfigCreate a new instance from configuration.defaults()Default security handler for this gRPC service.methods()Method-specific security configuration.name()Name of the gRPC service, either the full name such aspackage.StringServiceor the final service name segment such asStringService.
-
Method Details
-
builder
Create a new fluent API builder to customize configuration.- Returns:
- a new builder
-
builder
Create a new fluent API builder from an existing instance.- Parameters:
instance- an existing instance used as a base for the builder- Returns:
- a builder based on an instance
-
create
Create a new instance from configuration.- Parameters:
config- used to configure the new instance- Returns:
- a new instance configured from configuration
-
create
Deprecated.Create a new instance from configuration.- Parameters:
config- used to configure the new instance- Returns:
- a new instance configured from configuration
-
name
String name()Name of the gRPC service, either the full name such aspackage.StringServiceor the final service name segment such asStringService.- Returns:
- gRPC service name
-
defaults
GrpcSecurityHandler defaults()Default security handler for this gRPC service.- Returns:
- service default security handler
-
methods
List<GrpcSecurityMethodConfig> methods()Method-specific security configuration.- Returns:
- method security configuration
-
create(io.helidon.config.Config)