Module io.helidon.webserver.observe
Package io.helidon.webserver.observe
Class ObserveFeatureConfig.BuilderBase.ObserveFeatureConfigImpl
java.lang.Object
io.helidon.webserver.observe.ObserveFeatureConfig.BuilderBase.ObserveFeatureConfigImpl
- All Implemented Interfaces:
- Prototype.Api,- Prototype.Factory<ObserveFeature>,- ObserveFeatureConfig,- Supplier<ObserveFeature>
- Enclosing class:
- ObserveFeatureConfig.BuilderBase<BUILDER extends ObserveFeatureConfig.BuilderBase<BUILDER,- PROTOTYPE>, - PROTOTYPE extends ObserveFeatureConfig> 
protected static class ObserveFeatureConfig.BuilderBase.ObserveFeatureConfigImpl
extends Object
implements ObserveFeatureConfig, Supplier<ObserveFeature>
Generated implementation of the prototype, can be extended by descendant prototype implementations.
- 
Nested Class SummaryNested classes/interfaces inherited from interface io.helidon.webserver.observe.ObserveFeatureConfigObserveFeatureConfig.Builder, ObserveFeatureConfig.BuilderBase<BUILDER extends ObserveFeatureConfig.BuilderBase<BUILDER,PROTOTYPE>, PROTOTYPE extends ObserveFeatureConfig> 
- 
Constructor SummaryConstructorsModifierConstructorDescriptionprotectedObserveFeatureConfigImpl(ObserveFeatureConfig.BuilderBase<?, ?> builder) Create an instance providing a builder.
- 
Method SummaryModifier and TypeMethodDescriptionbuild()Create a new instance of the runtime type from this config object.config()Configuration of the observe feature, if present.cors()Cors support inherited by each observe provider, unless explicitly configured.booleanenabled()Whether the observe support is enabled.endpoint()Root endpoint to use for observe providers.booleanget()inthashCode()name()Name of this instance.Observers to use with this observe features.sockets()Sockets the observability endpoint should be exposed on.toString()doubleweight()Change the weight of this feature.
- 
Constructor Details- 
ObserveFeatureConfigImplCreate an instance providing a builder.- Parameters:
- builder- extending builder base of this prototype
 
 
- 
- 
Method Details- 
buildDescription copied from interface:Prototype.FactoryCreate a new instance of the runtime type from this config object.- Specified by:
- buildin interface- Prototype.Factory<ObserveFeature>
- Returns:
- new configured runtime instance
 
- 
get- Specified by:
- getin interface- Supplier<ObserveFeature>
 
- 
corsDescription copied from interface:ObserveFeatureConfigCors support inherited by each observe provider, unless explicitly configured.- Specified by:
- corsin interface- ObserveFeatureConfig
- Returns:
- cors support to use
 
- 
enabledpublic boolean enabled()Description copied from interface:ObserveFeatureConfigWhether the observe support is enabled.- Specified by:
- enabledin interface- ObserveFeatureConfig
- Returns:
- falseto disable observe feature
 
- 
endpointDescription copied from interface:ObserveFeatureConfigRoot endpoint to use for observe providers. By default, all observe endpoint are under this root endpoint.Example: 
 If root endpoint is/observe(the default), and default health endpoint ishealth(relative), health endpoint would be/observe/health.- Specified by:
- endpointin interface- ObserveFeatureConfig
- Returns:
- endpoint to use
 
- 
weightpublic double weight()Description copied from interface:ObserveFeatureConfigChange the weight of this feature. This may change the order of registration of this feature. By default, observability weight is 80.0 so it is registered after routing.- Specified by:
- weightin interface- ObserveFeatureConfig
- Returns:
- weight to use
 
- 
observersDescription copied from interface:ObserveFeatureConfigObservers to use with this observe features. Each observer type is registered only once, unless it uses a custom name (default name is the same as the type).- Specified by:
- observersin interface- ObserveFeatureConfig
- Returns:
- list of observers to use in this feature
 
- 
configDescription copied from interface:ObserveFeatureConfigConfiguration of the observe feature, if present.- Specified by:
- configin interface- ObserveFeatureConfig
- Returns:
- config node of the feature
 
- 
socketsDescription copied from interface:ObserveFeatureConfigSockets the observability endpoint should be exposed on. If not defined, defaults to the default socket ("@default". Each observer may have its own configuration of sockets that are relevant to it, this only controls the endpoints!- Specified by:
- socketsin interface- ObserveFeatureConfig
- Returns:
- list of sockets to register observe endpoint on
 
- 
nameDescription copied from interface:ObserveFeatureConfigName of this instance.- Specified by:
- namein interface- ObserveFeatureConfig
- Returns:
- instance name
 
- 
toString
- 
equals
- 
hashCodepublic int hashCode()
 
-