java.lang.Object
io.helidon.webserver.WebTracingConfig.Builder
- All Implemented Interfaces:
Builder<WebTracingConfig.Builder,
,WebTracingConfig> Supplier<WebTracingConfig>
- Enclosing class:
- WebTracingConfig
public static class WebTracingConfig.Builder
extends Object
implements Builder<WebTracingConfig.Builder,WebTracingConfig>
A fluent API builder for
WebTracingConfig
.-
Method Summary
Modifier and TypeMethodDescriptionaddPathConfig
(PathTracingConfig pathTracingConfig) Add a path specific configuration of tracing.build()
Build the instance from this builder.Update builder fromConfig
.envConfig
(TracingConfig tracingConfig) Use the provided configuration as a default for any request.
-
Method Details
-
build
Description copied from interface:Builder
Build the instance from this builder.- Specified by:
build
in interfaceBuilder<WebTracingConfig.Builder,
WebTracingConfig> - Returns:
- instance of the built type
-
addPathConfig
Add a path specific configuration of tracing.- Parameters:
pathTracingConfig
- configuration of tracing for a specific path- Returns:
- updated builder instance
-
envConfig
Use the provided configuration as a default for any request.- Parameters:
tracingConfig
- default web server tracing configuration- Returns:
- updated builder instance
-
config
Update builder fromConfig
.- Parameters:
config
- config to read default configuration and path specific configuration from- Returns:
- updated builder instance
-