Java 8 introduced functional programming support, this is a powerful feature which was missing from earlier versions. One of the benefits of functional programming is that it can be used to implement decorator pattern without the use of inheritance. One common requirement is to implement some kind of ...
Retrofit uses Google’sgson libraries to deserializeJSON representation to Java object representation. Although, this
deserialization process works for most of the cases, sometimes you would
have to override the deserialization process to parse a part of the
response or because you don’t have any clear object representation ...
Retrofit is a type-safe rest client for java/android that one can use
for easily consuming rest services. It supports both synchronous and
asynchronous retrieval. In this post, I will explain an example which
shows how you can integrate it with your android application for
consuming rest services asynchronously. The ...
Ideally the resources like images, flash files etc should be cached on
the client browser or proxy server to reduce server load and reduce
bandwidth consumption. In this post i will explain on how one can enable
caching of these resources if they are exposed as restful resources
using JERSEY ...