* Replace Rest with Remaining and RestPath with RemainingPath * changed files: path-directives.rst and path-matchers.rst
This commit is contained in:
parent
e2c6948c15
commit
66d4f82685
2 changed files with 5 additions and 5 deletions
|
|
@ -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).
|
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.
|
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.
|
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``
|
``PathMatchers.intValue``
|
||||||
Efficiently matches a number of decimal digits (unsigned) and extracts their (non-negative) ``Int`` value. The matcher
|
Efficiently matches a number of decimal digits (unsigned) and extracts their (non-negative) ``Int`` value. The matcher
|
||||||
|
|
|
||||||
|
|
@ -69,11 +69,11 @@ Segment: PathMatcher1[String]
|
||||||
PathEnd: PathMatcher0
|
PathEnd: PathMatcher0
|
||||||
Matches the very end of the path, similar to ``$`` in regular expressions and extracts nothing.
|
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.
|
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.
|
Matches and extracts the complete remaining, unmatched part of the request's URI path.
|
||||||
|
|
||||||
IntNumber: PathMatcher1[Int]
|
IntNumber: PathMatcher1[Int]
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue