Interface RoutedPath

All Superinterfaces:
io.helidon.common.uri.UriPath

public interface RoutedPath extends io.helidon.common.uri.UriPath
Abstraction of HTTP path supporting routing parameters.
  • Method Summary

    Modifier and Type
    Method
    Description
    If this instance represents a path relative to some context root then returns absolute requested path otherwise returns this instance.
    io.helidon.common.parameters.Parameters
    Resolved parameters from path template.

    Methods inherited from interface io.helidon.common.uri.UriPath

    matrixParameters, path, rawPath, rawPathNoParams, segments, validate
  • Method Details

    • pathParameters

      io.helidon.common.parameters.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.

      Specified by:
      absolute in interface io.helidon.common.uri.UriPath
      Returns:
      an absolute requested URI path