- All Superinterfaces:
UriPath
Abstraction of HTTP path supporting routing parameters.
-
Method Summary
Modifier and TypeMethodDescriptionabsolute()
If this instance represents a path relative to some context root then returns absolute requested path otherwise returns this instance.Resolved parameters from path template.Methods inherited from interface io.helidon.common.uri.UriPath
matrixParameters, path, rawPath, rawPathNoParams, segments, validate
-
Method Details
-
pathParameters
Parameters pathParameters()Resolved parameters from path template. Path templates do not support multi-valued parameters.Example of path with path parameter:
/users/{user}
.user
is the name of the parameter.- Returns:
- resolved parameters
-
absolute
RoutedPath absolute()If this instance represents a path relative to some context root then returns absolute requested path otherwise returns this instance.The absolute path also contains access to path parameters defined in context matchers. If there is name conflict then value represents latest matcher result.
-