extractMaterializer

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 withMaterializer 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.

Contents