requests4j – rewrite using OkHttp

The Java client that I have developed for our User-friendly Deep Learning project makes use of my requests4j library. Currently, I have a team of students developing an Android app for managing image classification datasets for the UFDL project. But they ran into the problem that Android ships an outdated version of Apache’s HttpClient that interfers with requests4j and results in method signature errors. Great…

So I spent my weekend and a couple more days rewriting the library, but this time using Square’s OkHttp library instead (seems rather popular). Always takes a while getting used to the quirks of another library, but at least it wasn’t too dissimilar. And my students could once again concentrate on developing their app. 🙂