=doc fix github link as in #19434

This commit is contained in:
Konrad Malawski 2016-01-14 00:35:47 +01:00
parent 5a18d43435
commit f46f9edb17
5 changed files with 15 additions and 21 deletions

View file

@ -13,10 +13,10 @@ import akka.japi.pf.ReceiveBuilder;
//#imports //#imports
//#my-actor //#my-actor
public class MyActor extends AbstractActor { public class MyJavaActor extends AbstractActor {
private final LoggingAdapter log = Logging.getLogger(context().system(), this); private final LoggingAdapter log = Logging.getLogger(context().system(), this);
public MyActor() { public MyJavaActor() {
receive(ReceiveBuilder. receive(ReceiveBuilder.
match(String.class, s -> { match(String.class, s -> {
log.info("Received String message: {}", s); log.info("Received String message: {}", s);

View file

@ -21,8 +21,6 @@ import akka.util._
import scala.concurrent.duration._ import scala.concurrent.duration._
import scala.concurrent.Await import scala.concurrent.Await
object x {
//#my-actor //#my-actor
class MyActor extends Actor { class MyActor extends Actor {
val log = Logging(context.system, this) val log = Logging(context.system, this)
@ -32,10 +30,7 @@ object x {
case _ => log.info("received unknown message") case _ => log.info("received unknown message")
} }
} }
//#my-actor //#my-actor
}
import x._
final case class DoIt(msg: ImmutableMessage) final case class DoIt(msg: ImmutableMessage)
final case class Message(s: String) final case class Message(s: String)

View file

@ -12,5 +12,5 @@ The support is not enabled automatically, but must be explicitly requested.
For enabling message encoding/decoding with :ref:`Routing DSL <http-high-level-server-side-api>` see the :ref:`CodingDirectives`. For enabling message encoding/decoding with :ref:`Routing DSL <http-high-level-server-side-api>` see the :ref:`CodingDirectives`.
.. _HTTP spec: http://tools.ietf.org/html/rfc7231#section-3.1.2.1 .. _HTTP spec: http://tools.ietf.org/html/rfc7231#section-3.1.2.1
.. _akka.http.scaladsl.coding: https://github.com/akka/akka/tree/release-2.3-dev/akka-http/src/main/scala/akka/http/scaladsl/coding .. _akka.http.scaladsl.coding: @github@/akka-http/src/main/scala/akka/http/scaladsl/coding

View file

@ -1,2 +1 @@
//akka.loggers = ["akka.testkit.TestEventListener"] akka.loggers = ["akka.testkit.TestEventListener"]
akka.loggers = []