Module io.helidon.webserver.grpc
Package io.helidon.webserver.grpc
Class GrpcConfig.BuilderBase.GrpcConfigImpl
java.lang.Object
io.helidon.webserver.grpc.GrpcConfig.BuilderBase.GrpcConfigImpl
- All Implemented Interfaces:
Prototype.Api,NamedService,GrpcConfig,ProtocolConfig
- Enclosing class:
GrpcConfig.BuilderBase<BUILDER extends GrpcConfig.BuilderBase<BUILDER,PROTOTYPE>, PROTOTYPE extends GrpcConfig>
Generated implementation of the prototype, can be extended by descendant prototype implementations.
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.helidon.webserver.grpc.GrpcConfig
GrpcConfig.Builder, GrpcConfig.BuilderBase<BUILDER extends GrpcConfig.BuilderBase<BUILDER,PROTOTYPE>, PROTOTYPE extends GrpcConfig> -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedGrpcConfigImpl(GrpcConfig.BuilderBase<?, ?> builder) Create an instance providing a builder. -
Method Summary
-
Constructor Details
-
GrpcConfigImpl
Create an instance providing a builder.- Parameters:
builder- extending builder base of this prototype
-
-
Method Details
-
name
Description copied from interface:GrpcConfigProtocol configuration name.- Specified by:
namein interfaceGrpcConfig- Specified by:
namein interfaceNamedService- Returns:
- name of this configuration
-
type
Description copied from interface:GrpcConfigProtocol configuration type.- Specified by:
typein interfaceGrpcConfig- Specified by:
typein interfaceNamedService- Returns:
- type of this configuration
-
enableMetrics
public boolean enableMetrics()Description copied from interface:GrpcConfigWhether to collect metrics for gRPC server calls.- Specified by:
enableMetricsin interfaceGrpcConfig- Returns:
- metrics flag
-
enableCompression
public boolean enableCompression()Description copied from interface:GrpcConfigWhether to support compression if requested by a client. If explicitly disabled, no compression will be ever be used by the server even if a client-compatible compressor is found.- Specified by:
enableCompressionin interfaceGrpcConfig- Returns:
- true if compression is enabled
-
toString
-
equals
-
hashCode
public int hashCode()
-