-
public interface PathTracingConfig
Traced system configuration for web server for a specific path.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
PathTracingConfig.Builder
Fluent API builder forPathTracingConfig
.
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description static PathTracingConfig.Builder
builder()
Create a new builder to configure traced path configuration.static PathTracingConfig
create(Config config)
Create a new traced path configuration fromConfig
.List<String>
methods()
Method(s) this configuration should be valid for.String
path()
Path this configuration should configure.TracingConfig
tracedConfig()
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 asGET
orPOST
).- 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
-
-