19 lines
727 B
ReStructuredText
19 lines
727 B
ReStructuredText
|
|
.. _-pathEnd-java-:
|
||
|
|
|
||
|
|
pathEnd
|
||
|
|
=======
|
||
|
|
|
||
|
|
Description
|
||
|
|
-----------
|
||
|
|
Only passes the request to its inner route if the unmatched path of the ``RequestContext`` is empty, i.e. the request
|
||
|
|
path has been fully matched by a higher-level :ref:`-path-java-` or :ref:`-pathPrefix-java-` directive.
|
||
|
|
|
||
|
|
|
||
|
|
This directive is a simple alias for ``rawPathPrefix(PathEnd)`` and is mostly used on an
|
||
|
|
inner-level to discriminate "path already fully matched" from other alternatives (see the example below).
|
||
|
|
|
||
|
|
|
||
|
|
Example
|
||
|
|
-------
|
||
|
|
TODO: Example snippets for JavaDSL are subject to community contributions! Help us complete the docs, read more about it here: `write example snippets for Akka HTTP Java DSL #20466 <https://github.com/akka/akka/issues/20466>`_.
|