I have a filter of route handler using Spray Custom Directive0. The purpose of this custom directive is to build a request filter to time the reques ...
I have a filter of route handler using Spray Custom Directive0. The purpose of this custom directive is to build a request filter to time the reques ...
I would like to make parameter parsing in Spray routing case insensitive. For example: In this route, I would like the pageSize and appId parameter ...
I am creating a service that aggregates data and will need to be able to read any unknown JSON document. I have the pipeline defined as follows: Th ...
Is there custom extensions/directives for spray routing DSL/Akka HTTP which allow to generate documentation for given Route instance? ...
I have following code in Spray to parse the REST service called by user: The problem is that it is not behaving as expected. I am expecting followi ...
My application has an API using SprayCan. In the application, any blocking code has a separate dispatcher for each specific resource. Is it necessar ...
Let's say I have 1 directive for authentication. And after authentication, I would like to log. This is what I do so far: So I would like to covert ...
I would like to change the following code fragment in a way that I want to factor out the onSuccess block into a new method. JSON marshalling should s ...
Spray only supports extracting ONE header with a given name via headerValueByName. How could I get hold of ALL headers with the name "whatever" in the ...
I have following code snippet where dataService returns Option[LocationDataResult]. I would like to set NotFound when dataService returns None and sen ...
Answering my own question here because this took me over a day to figure out and it was a really simple gotcha that I think others might run into. W ...
I am playing around with spray.io and I am not able to make spray debugging directives logRequestResponse work - I don't see any output in the log. ...
I try to create simple CRUD application with scala and spray-routing. I have the following route: I wrote this according to the official documentat ...
I am facing a weird exception Where the problem is the trailing $ - something like inner class or so .. My code follows: Because of my actor i ...
I am following spray manual from here. So I put to gather pretty simple test I am calling route which contains authorized directive. So I would exp ...
I am working on a codebase where calling my Spray API need to synchronously call a service that returns a Try which Spray need to format and return ov ...
I'm trying to wrap my head around how Spray has implemented their Directives, and in particular the Parameter extraction DSL. I understand the magnet ...
I tried a simple spray example app and i cannot access the route, I uploaded the example source code which does not work to github: spray-tomcat-examp ...
I am using a spray-routing which is pretty elegant with using symbols for parameters. However I am dealing with some legacy code and need to use java ...
I have following test in spray-testkit with scalatest and I do not understand why test passes every time despite the actual status. Test passes eve ...