16 lines
523 B
ReStructuredText
16 lines
523 B
ReStructuredText
.. _-mapInnerRoute-java-:
|
|
|
|
mapInnerRoute
|
|
=============
|
|
|
|
Description
|
|
-----------
|
|
Changes the execution model of the inner route by wrapping it with arbitrary logic.
|
|
|
|
The ``mapInnerRoute`` directive is used as a building block for :ref:`Custom Directives-java` to replace the inner route
|
|
with any other route. Usually, the returned route wraps the original one with custom execution logic.
|
|
|
|
Example
|
|
-------
|
|
|
|
.. includecode:: ../../../../code/docs/http/javadsl/server/directives/BasicDirectivesExamplesTest.java#mapInnerRoute
|