DiversIT Europe

Tag: spray

Sep 4, 2015 Chaining rejection handlers To serve some resources via Spray, it’s as easy as using the ‘getFromFile’ directive. If you want to fall back to an alternative because the file is not available, you can define a RejectionHandler to serve an alternative file.
[Read more...]
Tags: scala spray