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) {
Stop searching for code, let great code find you!  Add Codota to your java IDE