18 lines
630 B
ReStructuredText
18 lines
630 B
ReStructuredText
|
|
.. _-mapRouteResult-java-:
|
||
|
|
|
||
|
|
mapRouteResult
|
||
|
|
==============
|
||
|
|
|
||
|
|
Description
|
||
|
|
-----------
|
||
|
|
Changes the message the inner route sends to the responder.
|
||
|
|
|
||
|
|
The ``mapRouteResult`` directive is used as a building block for :ref:`Custom Directives-java` to transform the
|
||
|
|
:class:`RouteResult` coming back from the inner route.
|
||
|
|
|
||
|
|
See :ref:`Result Transformation Directives-java` for similar directives.
|
||
|
|
|
||
|
|
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>`_.
|