spray Questions
1
Solved
I'm having a bit of a tough time trying to understand how to write tests in Scala when implicit parameters are involved.
I have the following (short version) of my code and test:
Implementation (...
Usurer asked 12/5, 2013 at 12:30
2
Solved
Since Spray.io is defining content types at a low-level, how do I simply reference the content-type of the incoming request?
Here's a short example where an image is PUT.
put {
entity(as[Array[...
Ribbing asked 6/5, 2013 at 20:55
1
Documentation states that spray is able to handle chunked responses but I can't find any example to start with. There is my naive implementation:
object Main extends App {
implicit val system = ...
1
Solved
I need to expose a Spray service that accepts JSON payload. Where can I find a sample that would demonstrate such a feature?
Synapse asked 11/4, 2013 at 21:18
2
Solved
SBT keeps running out of memory on some of my bigger acceptance style tests using specs2 and spray-testkit. I have 10 gigs or RAM available and currently I start SBT (using the SBT extras script) w...
2
Solved
I have a service which returns an Option[ProductDoc] in a Future (as an akka ask)
How do I respond in spray routing so that a valid product repsonds with a product but an unknown but well formed o...
2
Solved
I'm trying to use the Java JTDS driver to connect to my database in Scala . However, whenever I try to use it I get an error that the version(of java?) is wrong.
java.lang.UnsupportedClassVersi...
2
In the past few months, me and my colleagues have successfully built a server-side system for dispatching push notifications to iPhone devices. Basically, a user registers for these notifications v...
© 2022 - 2024 — McMap. All rights reserved.