Retrofit + Play

Retrofit is an amazing HTTP client scaffolding library. It makes writing and testing HTTP clients really easy.

To make it easy to use Retrofit in Play, i wrote a small library that uses the Play’s WS library as the HTTP stack for Retrofit, while exposing convenient scala scala.concurrent.Future[A] wrappers on top of the java retrofit.Callback<A>.

The source code is on Github here.

 
24
Kudos
 
24
Kudos

Now read this

A Photo a Day. (Adventures with a Sony A7R)

I have been eyeing a Sony A7R for a long time (over a year now). Yeah, I know that there is an A7R ii; but I don’t really care about the 5-axis image stabilization (given that i will probably end up using a tripod). In an effort to up my... Continue →