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