Interface RoutedPath

All Superinterfaces:
UriPath

public interface RoutedPath extends UriPath
Abstraction of HTTP path supporting routing parameters.
  • 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.

      Specified by:
      absolute in interface UriPath
      Returns:
      an absolute requested URI path