Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 3 of 3 for setContentCache (0.07 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

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

            return contentCache.getInputStream();
        }
    
        /**
         * Sets the content cache for the response.
         *
         * @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.
         */
    Created: Thu Apr 02 15:34:12 GMT 2026
    - Last Modified: Sat Mar 21 09:11:12 GMT 2026
    - 6.8K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/curl/CurlResponseTest.java

        public void testContentCache() {
            CurlResponse response = new CurlResponse();
            byte[] data = "test content".getBytes();
            ContentCache cache = new ContentCache(data);
    
            response.setContentCache(cache);
    
            // ContentCache is not directly accessible, but we can test through content methods
            assertNotNull(response);
        }
    
        @Test
    Created: Thu Apr 02 15:34:12 GMT 2026
    - Last Modified: Sat Mar 21 09:11:12 GMT 2026
    - 17.7K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/helper/CoordinatorHelperTest.java

            final CurlResponse response = new CurlResponse();
            response.setHttpStatusCode(statusCode);
            response.setEncoding("UTF-8");
            response.setContentCache(new ContentCache(body.getBytes(StandardCharsets.UTF_8)));
            return response;
        }
    
        private void setupMockFessConfig() {
            ComponentUtil.setFessConfig(new FessConfig.SimpleImpl() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 06:59:19 GMT 2026
    - 58.6K bytes
    - Click Count (0)
Back to Top