public interface PathTracingConfig
Traced system configuration for web server for a specific path.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classFluent API builder forPathTracingConfig. -
Method Summary
Modifier and TypeMethodDescriptionstatic PathTracingConfig.Builderbuilder()Create a new builder to configure traced path configuration.static PathTracingConfigCreate a new traced path configuration fromConfig.methods()Method(s) this configuration should be valid for.path()Path this configuration should configure.Associated configuration of tracing valid for the configured path and (possibly) methods.
-
Method Details
-
create
Create a new traced path configuration fromConfig.- Parameters:
config- config of a path- Returns:
- traced path configuration
-
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:
-
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
-