17 lines
597 B
ReStructuredText
17 lines
597 B
ReStructuredText
|
|
.. _-extractMaterializer-java-:
|
||
|
|
|
||
|
|
extractMaterializer
|
||
|
|
===================
|
||
|
|
|
||
|
|
Description
|
||
|
|
-----------
|
||
|
|
|
||
|
|
Extracts the ``Materializer`` from the ``RequestContext``, which can be useful when you want to run an
|
||
|
|
Akka Stream directly in your route.
|
||
|
|
|
||
|
|
See also :ref:`-withMaterializer-java-` to see how to customise the used materializer for specific inner routes.
|
||
|
|
|
||
|
|
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>`_.
|