Class AutoHttpMetricsPathConfig.BuilderBase.AutoHttpMetricsPathConfigImpl
java.lang.Object
io.helidon.webserver.observe.metrics.AutoHttpMetricsPathConfig.BuilderBase.AutoHttpMetricsPathConfigImpl
- All Implemented Interfaces:
Prototype.Api, AutoHttpMetricsPathConfig
- Enclosing class:
AutoHttpMetricsPathConfig.BuilderBase<BUILDER extends AutoHttpMetricsPathConfig.BuilderBase<BUILDER, PROTOTYPE>, PROTOTYPE extends AutoHttpMetricsPathConfig>
protected static class AutoHttpMetricsPathConfig.BuilderBase.AutoHttpMetricsPathConfigImpl
extends Object
implements AutoHttpMetricsPathConfig
Generated implementation of the prototype, can be extended by descendant prototype implementations.
-
Nested Class Summary
Nested classes/interfaces inherited from interface AutoHttpMetricsPathConfig
AutoHttpMetricsPathConfig.Builder, AutoHttpMetricsPathConfig.BuilderBase<BUILDER, PROTOTYPE>Modifier and TypeInterfaceDescriptionstatic classFluent API builder forAutoHttpMetricsPathConfig.static classAutoHttpMetricsPathConfig.BuilderBase<BUILDER extends AutoHttpMetricsPathConfig.BuilderBase<BUILDER, PROTOTYPE>, PROTOTYPE extends AutoHttpMetricsPathConfig>Fluent API builder base forAutoHttpMetricsPathConfig. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCreate an instance providing a builder. -
Method Summary
Modifier and TypeMethodDescriptionbooleanenabled()Whether automatic metrics are to be enabled for requests which match the specifiedPathMatcherand HTTP methods.booleaninthashCode()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 matcher for internal use by this component.toString()Methods inherited from interface AutoHttpMetricsPathConfig
matchesMethod, matchesPathModifier and TypeMethodDescriptiondefault booleanmatchesMethod(Method method) Checks whether theMethodmatches the method(s) in the path config.default booleanmatchesPath(UriPath uriPath) Checks whether theUriPathmatches the path in the path config.
-
Constructor Details
-
AutoHttpMetricsPathConfigImpl
Create an instance providing a builder.- Parameters:
builder- extending builder base of this prototype
-
-
Method Details
-
enabled
public boolean enabled()Description copied from interface:AutoHttpMetricsPathConfigWhether automatic metrics are to be enabled for requests which match the specifiedPathMatcherand HTTP methods.- Specified by:
enabledin interfaceAutoHttpMetricsPathConfig- Returns:
- whether auto metrics are to be enabled for this path config's path matcher and HTTP methods
-
path
Description copied from interface:AutoHttpMetricsPathConfigPath matching expression for this path config entry.- Specified by:
pathin interfaceAutoHttpMetricsPathConfig- Returns:
- path matching expression
-
methods
Description copied from interface:AutoHttpMetricsPathConfigExact, case-sensitive HTTP methods for which this path config applies; default is to match all HTTP methods.- Specified by:
methodsin interfaceAutoHttpMetricsPathConfig- Returns:
- HTTP methods
-
methodPredicate
- Specified by:
methodPredicatein interfaceAutoHttpMetricsPathConfig
-
pathMatcher
Description copied from interface:AutoHttpMetricsPathConfigPath matcher for internal use by this component.- Specified by:
pathMatcherin interfaceAutoHttpMetricsPathConfig- Returns:
PathMatcherderived from theAutoHttpMetricsPathConfig.path()setting
-
toString
-
equals
-
hashCode
-