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 = ...
Tko asked 2/5, 2013 at 10:7

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...
Toughminded asked 20/3, 2013 at 10:22

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...
Galactic asked 11/3, 2013 at 19:37

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...
Lynsey asked 15/11, 2012 at 18:3

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...
Flotilla asked 10/2, 2012 at 10:49

© 2022 - 2024 — McMap. All rights reserved.