- All Superinterfaces:
Prototype.Api,Prototype.Factory<GrpcReflectionFeature>
- All Known Implementing Classes:
GrpcReflectionConfig.BuilderBase.GrpcReflectionConfigImpl
Configuration of gRPC Reflection feature.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic classFluent API builder forGrpcReflectionFeature.static classGrpcReflectionConfig.BuilderBase<BUILDER extends GrpcReflectionConfig.BuilderBase<BUILDER,PROTOTYPE>, PROTOTYPE extends GrpcReflectionConfig> Fluent API builder base forGrpcReflectionFeature. -
Method Summary
Modifier and TypeMethodDescriptionstatic GrpcReflectionConfig.Builderbuilder()Create a new fluent API builder to customize configuration.static GrpcReflectionConfig.Builderbuilder(GrpcReflectionConfig instance) Create a new fluent API builder from an existing instance.static GrpcReflectionConfigcreate()Create a new instance with default values.static GrpcReflectionConfigDeprecated.static GrpcReflectionConfigCreate a new instance from configuration.booleanenabled()This feature can be enabled.name()Name of this instance.sockets()List of sockets to register this feature on.Methods inherited from interface io.helidon.builder.api.Prototype.Factory
build
-
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
-
create
Create a new instance with default values.- Returns:
- a new instance
-
sockets
List of sockets to register this feature on. If empty, it would get registered on all sockets.- Returns:
- socket names to register on, defaults to empty (all available sockets)
-
name
String name()Name of this instance.- Returns:
- instance name
-
enabled
boolean enabled()This feature can be enabled.- Returns:
- whether the feature is enabled
-
create(io.helidon.config.Config)