Hi, It appears to be "first step of Java routing API" [1] with just a single commit (perhaps squashed earlier to make it look so). What's Java routing API? How is this different from Scala's one if any?
[1] https://github.com/akka/akka/commits/release-2.3-dev/akka-http-java/src/main/scala/akka/http/server/japi/HttpApp.scala Jacek On Sunday, January 4, 2015 1:34:56 PM UTC+1, Jacek Laskowski wrote: > > Hi, > > Thanks for the hint, Björn. I've been pursuing the idea and used > japi.HttpApp, but ended up with the following compilation error: > > [error] found : akka.http.server.scala.Route > [error] (which expands to) akka.http.server.RequestContext => scala. > concurrent.Future[akka.http.server.RouteResult] > [error] required: akka.http.server.japi.Route > > > Before going any further, I'd love figuring out what's the intent of the > japi package and how the seemingly alike types - scala.Route and japi.Route > - compare. Where should they be used? > > Jacek > > On Wednesday, December 10, 2014 2:54:16 PM UTC+1, Björn Antonsson wrote: >> >> Hi Stevo, >> >> There is no direct equivalent to the spray.routing.HttpService. The >> closest is probably the akka.http.server.japi.HttpService and >> akka.http.server.japi.HttpApp. >> >> B/ >> >> On 9 December 2014 at 16:04:57, Stevo Slavić ([email protected]) wrote: >> >> Hello Akka community, >> >> In akka-http, is there an equivalent to spray.routing.HttpService? >> >> Kind regards, >> Stevo Slavic. >> -- >> >>>>>>>>>> Read the docs: http://akka.io/docs/ >> >>>>>>>>>> Check the FAQ: >> http://doc.akka.io/docs/akka/current/additional/faq.html >> >>>>>>>>>> Search the archives: https://groups.google.com/group/akka-user >> --- >> You received this message because you are subscribed to the Google Groups >> "Akka User List" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> To post to this group, send email to [email protected]. >> Visit this group at http://groups.google.com/group/akka-user. >> For more options, visit https://groups.google.com/d/optout. >> >> >> -- >> Björn Antonsson >> Typesafe <http://typesafe.com/> – Reactive Apps on the JVM >> twitter: @bantonsson <http://twitter.com/#!/bantonsson> >> >> -- >>>>>>>>>> Read the docs: http://akka.io/docs/ >>>>>>>>>> Check the FAQ: >>>>>>>>>> http://doc.akka.io/docs/akka/current/additional/faq.html >>>>>>>>>> Search the archives: https://groups.google.com/group/akka-user --- You received this message because you are subscribed to the Google Groups "Akka User List" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/akka-user. For more options, visit https://groups.google.com/d/optout.
