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

Empower

Elevator Pitch # We want to empower citizens by giving them the ability to provide constructive feedback when they interact with Government officials or officials representing a public-serving organization. The How? # We use the... Continue →