18 lines
668 B
ReStructuredText
18 lines
668 B
ReStructuredText
|
|
.. _-mapUnmatchedPath-java-:
|
||
|
|
|
||
|
|
mapUnmatchedPath
|
||
|
|
================
|
||
|
|
|
||
|
|
Description
|
||
|
|
-----------
|
||
|
|
Transforms the unmatchedPath field of the request context for inner routes.
|
||
|
|
|
||
|
|
The ``mapUnmatchedPath`` directive is used as a building block for writing :ref:`Custom Directives-java`. You can use it
|
||
|
|
for implementing custom path matching directives.
|
||
|
|
|
||
|
|
Use ``extractUnmatchedPath`` for extracting the current value of the unmatched path.
|
||
|
|
|
||
|
|
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>`_.
|