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

Day 12

Took lots of photos walking though San Francisco today. Started off at China Town, walked though the Piers and the Embarcadero, Presidio and finally to the Golden Gate Bridge. According to my Apple watch Steve and I walked around 12... Continue →