.. _-extractExecutionContext-java-: extractExecutionContext ======================= Description ----------- Extracts the ``ExecutionContext`` from the ``RequestContext``. See :ref:`-withExecutionContext-java-` to see how to customise the execution context provided for an inner route. See :ref:`-extract-java-` to learn more about how extractions work. Example ------- .. includecode:: ../../../../code/docs/http/javadsl/server/directives/BasicDirectivesExamplesTest.java#extractExecutionContext