I'm trying to work with akka Http
with Java
.
I would like to load a route that look like this :
hello/world
On my HttpApp
, I tried:
return route(
path("hello/world", () ->
get(() ->
complete("<h1>Say hello to akka-http</h1>")
)
);