private OkResponseCache okResponseCache() { if (responseCache instanceof HttpResponseCache) { return ((HttpResponseCache) responseCache).okResponseCache; } else if (responseCache != null) { return new OkResponseCacheAdapter(responseCache); } else { return null; } }