public interface CacheProvider<T>
rx.Observable<T> get(java.lang.String keyTemplate, java.util.Map<java.lang.String,java.lang.Object> requestProperties)
keyTemplate - A key template which may contain variable, e.g., /foo/bar/{id},
where the variable will be substituted with real value by RequestTemplate.RequestBuilderrequestProperties - Key value pairs provided via RequestTemplate.RequestBuilder.withRequestProperty(String, Object)Observable. It is assumed that
the actual cache retrieval does not happen until the returned Observable
is subscribed to.