Package io.helidon.webserver
Interface PathTracingConfig
-
public interface PathTracingConfigTraced system configuration for web server for a specific path.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classPathTracingConfig.BuilderFluent API builder forPathTracingConfig.
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description static PathTracingConfig.Builderbuilder()Create a new builder to configure traced path configuration.static PathTracingConfigcreate(Config config)Create a new traced path configuration fromConfig.List<String>methods()Method(s) this configuration should be valid for.Stringpath()Path this configuration should configure.TracingConfigtracedConfig()Associated configuration of tracing valid for the configured path and (possibly) methods.
-
-
-
Method Detail
-
create
static PathTracingConfig create(Config config)
Create a new traced path configuration fromConfig.- Parameters:
config- config of a path- Returns:
- traced path configuration
-
builder
static PathTracingConfig.Builder builder()
Create a new builder to configure traced path configuration.- Returns:
- a new builder instance
-
path
String path()
Path this configuration should configure.- Returns:
- path on the web server
- See Also:
Routing.Builder.any(String, Handler...)
-
methods
List<String> methods()
Method(s) this configuration should be valid for. This can be used to restrict the configuration only to specific HTTP methods (such asGETorPOST).- Returns:
- list of methods, if empty, this configuration is valid for any method
-
tracedConfig
TracingConfig tracedConfig()
Associated configuration of tracing valid for the configured path and (possibly) methods.- Returns:
- traced system configuration
-
-