Class WebTracingConfig.Builder

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 Details

    • build

      public WebTracingConfig build()
      Description copied from interface: Builder
      Build the instance from this builder.
      Specified by:
      build in interface Builder<WebTracingConfig.Builder,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 from Config.
      Parameters:
      config - config to read default configuration and path specific configuration from
      Returns:
      updated builder instance