Add scheme directive example in javadsl (#20586)
* add scheme directive test * link documentation to the scheme directive
This commit is contained in:
parent
03395d5739
commit
43c09a4b63
3 changed files with 62 additions and 2 deletions
|
|
@ -11,4 +11,5 @@ For rejecting a request if it doesn't match a specified scheme name, see the :re
|
|||
|
||||
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>`_.
|
||||
|
||||
.. includecode:: ../../../../code/docs/http/javadsl/server/directives/SchemeDirectivesExamplesTest.java#extractScheme
|
||||
|
|
|
|||
|
|
@ -18,4 +18,5 @@ For simply extracting the scheme name, see the :ref:`-extractScheme-java-` direc
|
|||
|
||||
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>`_.
|
||||
|
||||
.. includecode:: ../../../../code/docs/http/javadsl/server/directives/SchemeDirectivesExamplesTest.java#scheme
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue