I implemented a simple server following this tutorial: http://java.dzone.com/articles/building-rest-service-scala
Now I want to add a DELETE service, with the pattern /myItem/<idemId> I found there is pattern matching functionality available in akka-http, using path matchers / directives http://doc.akka.io/docs/akka-stream-and-http-experimental/1.0-M2/scala/http/path-matchers.html http://doc.akka.io/docs/akka-stream-and-http-experimental/1.0-M2/scala/http/directives/path-directives/index.html#pathdirectives But I can't find a way to use this in my implementation. How can I extract the id with my current implementation (other than splitting the url). Or do I have to implement differently for this functionality to be available? Thanks in advance, Ivan -- >>>>>>>>>> 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.
