Class AutoHttpMetricsPathConfig.Builder
java.lang.Object
io.helidon.webserver.observe.metrics.AutoHttpMetricsPathConfig.BuilderBase<AutoHttpMetricsPathConfig.Builder, AutoHttpMetricsPathConfig>
io.helidon.webserver.observe.metrics.AutoHttpMetricsPathConfig.Builder
- All Implemented Interfaces:
Prototype.Builder<AutoHttpMetricsPathConfig.Builder, AutoHttpMetricsPathConfig>, Builder<AutoHttpMetricsPathConfig.Builder, AutoHttpMetricsPathConfig>, ConfigBuilderSupport.ConfiguredBuilder<AutoHttpMetricsPathConfig.Builder, AutoHttpMetricsPathConfig>, Supplier<AutoHttpMetricsPathConfig>
- Enclosing interface:
AutoHttpMetricsPathConfig
public static class AutoHttpMetricsPathConfig.Builder
extends AutoHttpMetricsPathConfig.BuilderBase<AutoHttpMetricsPathConfig.Builder, AutoHttpMetricsPathConfig>
implements Builder<AutoHttpMetricsPathConfig.Builder, AutoHttpMetricsPathConfig>
Fluent API builder for
AutoHttpMetricsPathConfig.-
Nested Class Summary
Nested classes/interfaces inherited from class AutoHttpMetricsPathConfig.BuilderBase
AutoHttpMetricsPathConfig.BuilderBase.AutoHttpMetricsPathConfigImplModifier and TypeClassDescriptionprotected static classGenerated implementation of the prototype, can be extended by descendant prototype implementations. -
Method Summary
Modifier and TypeMethodDescriptionbuild()Create an instance from this builder.Create an instance of the prototype.Methods inherited from class AutoHttpMetricsPathConfig.BuilderBase
addMethod, addMethods, clearMethods, config, config, enabled, enabled, from, from, methods, methods, path, path, preBuildPrototype, toString, validatePrototypeModifier and TypeMethodDescriptionExact, case-sensitive HTTP methods for which this path config applies; default is to match all HTTP methods.addMethods(List<String> methods) Exact, case-sensitive HTTP methods for which this path config applies; default is to match all HTTP methods.Clear all methods.config()Configuration used to configure this instance.Update builder from configuration (node of this type).booleanenabled()Whether automatic metrics are to be enabled for requests which match the specifiedPathMatcherand HTTP methods.enabled(boolean enabled) Whether automatic metrics are to be enabled for requests which match the specifiedPathMatcherand HTTP methods.from(AutoHttpMetricsPathConfig prototype) Update this builder from an existing prototype instance.from(AutoHttpMetricsPathConfig.BuilderBase<?, ?> builder) Update this builder from an existing prototype builder instance.methods()Exact, case-sensitive HTTP methods for which this path config applies; default is to match all HTTP methods.Exact, case-sensitive HTTP methods for which this path config applies; default is to match all HTTP methods.path()Path matching expression for this path config entry.Path matching expression for this path config entry.protected voidHandles providers and decorators.toString()protected voidValidates required properties.Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface Builder
get, identity, updateModifier and TypeMethodDescriptiondefault AutoHttpMetricsPathConfigget()identity()Instance of this builder as the correct type.update(Consumer<AutoHttpMetricsPathConfig.Builder> consumer) Update the builder in a fluent API way.Methods inherited from interface Prototype.Builder
self
-
Method Details
-
buildPrototype
Create an instance of the prototype. Calling this method may update this builder from providers and decorators, so repeated calls may have side effects.- Specified by:
buildPrototypein interfacePrototype.Builder<AutoHttpMetricsPathConfig.Builder, AutoHttpMetricsPathConfig>- Returns:
- an instance of the setup object created from this builder
-
build
Create an instance from this builder. Calling this method may update this builder from providers and decorators, so repeated calls may have side effects.- Specified by:
buildin interfaceBuilder<AutoHttpMetricsPathConfig.Builder, AutoHttpMetricsPathConfig>- Returns:
- instance of the built type
-