Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for setContentCache (0.22 sec)

  1. src/main/java/org/codelibs/curl/CurlResponse.java

                } else {
                    throw new CurlException("The content does not exist.");
                }
            }
            return contentCache.getInputStream();
        }
    
        public void setContentCache(final ContentCache contentCache) {
            this.contentCache = contentCache;
        }
    
        public int getHttpStatusCode() {
            return httpStatusCode;
        }
    
    Java
    - Registered: Thu May 02 15:34:13 GMT 2024
    - Last Modified: Mon Nov 14 21:05:19 GMT 2022
    - 4K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/curl/CurlRequest.java

                        contentCache = new ContentCache(dfos.getData());
                    } else {
                        contentCache = new ContentCache(dfos.getFile());
                    }
                    response.setContentCache(contentCache);
                } catch (final Exception e) {
                    response.setContentException(e);
                    throw new CurlException("Failed to write a response.", e);
                }
            }
        }
    Java
    - Registered: Thu May 02 15:34:13 GMT 2024
    - Last Modified: Sun Feb 12 12:21:25 GMT 2023
    - 12.3K bytes
    - Viewed (0)
Back to top