Code example for CacheRequest

Methods: abort

            return new UnbufferedOutputStream(mCacheRequest.getBody());
        public void abort() { 
    private static class TestResponseCache extends FileResponseCache { 
        private boolean mReadOnly;
        private boolean mBuffered = true;
        protected File getFile(URI uri, String requestMethod,
                Map<String, List<String>> requestHeaders, Object cookie) {
            // The cache file is always specified as the cookie. 
            if (cookie == null) {
Connect your IDE to all the code out there  Get Codota for Java