Code example for CacheRequest

Methods: getBody

0
            mCacheRequest = cacheRequest;
        } 
 
        @Override 
        public OutputStream getBody() throws IOException {
            return new UnbufferedOutputStream(mCacheRequest.getBody());
        } 
 
        @Override 
        public void abort() { 
            mCacheRequest.abort();
        } 
    } 
 
    private static class TestResponseCache extends FileResponseCache { 
 
        private boolean mReadOnly;
 
        private boolean mBuffered = true;
 
        @Override