diff --git a/akka-docs/rst/java/http/routing-dsl/directives/path-directives.rst b/akka-docs/rst/java/http/routing-dsl/directives/path-directives.rst index 2bce0e81da..cf2e3f0d29 100644 --- a/akka-docs/rst/java/http/routing-dsl/directives/path-directives.rst +++ b/akka-docs/rst/java/http/routing-dsl/directives/path-directives.rst @@ -56,9 +56,9 @@ Predefined path matchers allow extraction of various types of values: Matches if the unmatched path starts with a path segment (i.e. not a slash). If so the path segment is extracted as a ``String`` instance. -``PathMatchers.Rest`` +``PathMatchers.Remaining`` Matches and extracts the complete remaining unmatched part of the request's URI path as an (encoded!) String. - If you need access to the remaining *decoded* elements of the path use ``RestPath`` instead. + If you need access to the remaining *decoded* elements of the path use ``RemainingPath`` instead. ``PathMatchers.intValue`` Efficiently matches a number of decimal digits (unsigned) and extracts their (non-negative) ``Int`` value. The matcher diff --git a/akka-docs/rst/scala/http/routing-dsl/path-matchers.rst b/akka-docs/rst/scala/http/routing-dsl/path-matchers.rst index 3aae7cc97e..758330d075 100644 --- a/akka-docs/rst/scala/http/routing-dsl/path-matchers.rst +++ b/akka-docs/rst/scala/http/routing-dsl/path-matchers.rst @@ -69,11 +69,11 @@ Segment: PathMatcher1[String] PathEnd: PathMatcher0 Matches the very end of the path, similar to ``$`` in regular expressions and extracts nothing. -Rest: PathMatcher1[String] +Remaining: PathMatcher1[String] Matches and extracts the complete remaining unmatched part of the request's URI path as an (encoded!) String. - If you need access to the remaining *decoded* elements of the path use ``RestPath`` instead. + If you need access to the remaining *decoded* elements of the path use ``RemainingPath`` instead. -RestPath: PathMatcher1[Path] +RemainingPath: PathMatcher1[Path] Matches and extracts the complete remaining, unmatched part of the request's URI path. IntNumber: PathMatcher1[Int]