17 lines
608 B
ReStructuredText
17 lines
608 B
ReStructuredText
|
|
.. _-extractSettings-java-:
|
||
|
|
|
||
|
|
extractSettings
|
||
|
|
===============
|
||
|
|
|
||
|
|
Description
|
||
|
|
-----------
|
||
|
|
|
||
|
|
Extracts the :class:`RoutingSettings` from the :class:`RequestContext`.
|
||
|
|
|
||
|
|
By default the settings of the ``Http()`` extension running the route will be returned.
|
||
|
|
It is possible to override the settings for specific sub-routes by using the :ref:`-withSettings-java-` directive.
|
||
|
|
|
||
|
|
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>`_.
|