diff --git a/akka-docs/rst/java/stream/stream-dynamic.rst b/akka-docs/rst/java/stream/stream-dynamic.rst index f90cbdcacb..2e0d37c368 100644 --- a/akka-docs/rst/java/stream/stream-dynamic.rst +++ b/akka-docs/rst/java/stream/stream-dynamic.rst @@ -1,10 +1,10 @@ -.. _stream-dynamic-scala: +.. _stream-dynamic-java: ####################### Dynamic stream handling ####################### -.. _kill-switch-scala: +.. _kill-switch-java: Controlling graph completion with KillSwitch -------------------------------------------- @@ -24,7 +24,7 @@ Graph completion is performed by both A ``KillSwitch`` can control the completion of one or multiple streams, and therefore comes in two different flavours. -.. _unique-kill-switch-scala: +.. _unique-kill-switch-java: UniqueKillSwitch ^^^^^^^^^^^^^^^^ @@ -40,7 +40,7 @@ below for usage examples. .. includecode:: ../code/docs/stream/KillSwitchDocTest.java#unique-abort -.. _shared-kill-switch-scala: +.. _shared-kill-switch-java: SharedKillSwitch ^^^^^^^^^^^^^^^^ diff --git a/akka-docs/rst/scala/http/routing-dsl/directives/route-directives/redirect.rst b/akka-docs/rst/scala/http/routing-dsl/directives/route-directives/redirect.rst index 48fc04ba7b..38ce11ae54 100644 --- a/akka-docs/rst/scala/http/routing-dsl/directives/route-directives/redirect.rst +++ b/akka-docs/rst/scala/http/routing-dsl/directives/route-directives/redirect.rst @@ -17,7 +17,7 @@ Completes the request with a redirection response to a given targer URI and of a ``redirect`` is a convenience helper for completing the request with a redirection response. It is equivalent to this snippet relying on the ``complete`` method on ``RequestContext`` (a directive is also available): -.. includecode2:: /../../akka-http/src/main/scala/akka/http/scaladsl/server/directives/RouteDirectives.scala +.. includecode2:: /../../akka-http/src/main/scala/akka/http/scaladsl/server/RequestContextImpl.scala :snippet: red-impl @@ -25,4 +25,4 @@ Example ------- .. includecode2:: ../../../../code/docs/http/scaladsl/server/directives/RouteDirectivesExamplesSpec.scala - :snippet: redirect-examples \ No newline at end of file + :snippet: redirect-examples