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 io.helidon.webserver.observe.metrics.AutoHttpMetricsPathConfig
AutoHttpMetricsPathConfig.Builder, AutoHttpMetricsPathConfig.BuilderBase<BUILDER extends AutoHttpMetricsPathConfig.BuilderBase<BUILDER,PROTOTYPE>, PROTOTYPE extends AutoHttpMetricsPathConfig> -
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()Method predicate for checking a request's HTTP method against this config's methods.methods()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 class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface io.helidon.webserver.observe.metrics.AutoHttpMetricsPathConfig
matchesMethod, matchesPath
-
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:AutoHttpMetricsPathConfigHTTP methods for which this path config applies; default is to match all HTTP methods.- Specified by:
methodsin interfaceAutoHttpMetricsPathConfig- Returns:
- HTTP methods
-
methodPredicate
Method predicate for checking a request's HTTP method against this config's methods.- Specified by:
methodPredicatein interfaceAutoHttpMetricsPathConfig- Returns:
- method predicate for the configured HTTP methods
-
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
public int hashCode()
-