Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for ContentCache (0.13 sec)

  1. src/main/java/org/codelibs/curl/io/ContentCache.java

     * {@code
     * // In-memory caching
     * byte[] data = "example data".getBytes();
     * try (ContentCache cache = new ContentCache(data)) {
     *     InputStream inputStream = cache.getInputStream();
     *     // Read from inputStream
     * }
     *
     * // File-based caching
     * File file = new File("example.txt");
     * try (ContentCache cache = new ContentCache(file)) {
     *     InputStream inputStream = cache.getInputStream();
     *     // Read from inputStream
    Registered: Thu Sep 04 15:34:10 UTC 2025
    - Last Modified: Sat Jul 05 01:38:18 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/curl/CurlResponse.java

         *
         * @param contentCache the content cache to set.
         */
        public void setContentCache(final ContentCache contentCache) {
            this.contentCache = contentCache;
        }
    
        /**
         * Gets the HTTP status code of the response.
         *
         * @return the HTTP status code.
         */
        public int getHttpStatusCode() {
            return httpStatusCode;
        }
    
        /**
    Registered: Thu Sep 04 15:34:10 UTC 2025
    - Last Modified: Sat Jul 05 01:38:18 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  3. README.md

    - `org.codelibs.curl.CurlRequest`: builder for HTTP requests.
    - `org.codelibs.curl.CurlResponse`: wrapper for HTTP responses.
    - `org.codelibs.curl.CurlException`: unchecked exception for errors.
    - `org.codelibs.curl.io.ContentCache` and `ContentOutputStream`: internal utilities for streaming and caching.
    
    Refer to the Javadoc for full API details.
    
    ## Building and Testing
    
    ```bash
    git clone https://github.com/codelibs/curl4j.git
    cd curl4j
    Registered: Thu Sep 04 15:34:10 UTC 2025
    - Last Modified: Sat Jul 05 01:11:14 UTC 2025
    - 2.5K bytes
    - Viewed (0)
Back to top