15 lines
521 B
ReStructuredText
15 lines
521 B
ReStructuredText
|
|
.. _-extractScheme-java-:
|
||
|
|
|
||
|
|
extractScheme
|
||
|
|
=============
|
||
|
|
|
||
|
|
Description
|
||
|
|
-----------
|
||
|
|
Extracts the Uri scheme (i.e. "``http``", "``https``", etc.) for an incoming request.
|
||
|
|
|
||
|
|
For rejecting a request if it doesn't match a specified scheme name, see the :ref:`-scheme-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>`_.
|