Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for decompression (0.36 sec)

  1. src/main/java/org/codelibs/fess/helper/SearchHelper.java

            }
        }
    
        /**
         * Compresses data using GZIP compression.
         *
         * @param data The data to compress
         * @return GZIP-compressed data
         * @throws IORuntimeException if compression fails
         */
        protected byte[] gzipCompress(final byte[] data) {
            try (final ByteArrayOutputStream bos = new ByteArrayOutputStream()) {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Dec 20 05:56:45 UTC 2025
    - 36.3K bytes
    - Viewed (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/TikaExtractor.java

        }
    
        /**
         * Sets the maximum compression ratio.
         * @param maxCompressionRatio The max compression ratio.
         */
        public void setMaxCompressionRatio(final long maxCompressionRatio) {
            this.maxCompressionRatio = maxCompressionRatio;
        }
    
        /**
         * Sets the maximum uncompression size.
         * @param maxUncompressionSize The max uncompression size.
         */
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Nov 23 12:19:14 UTC 2025
    - 30.8K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/curl/CurlRequest.java

            return this;
        }
    
        /**
         * Enables GZIP compression for the request.
         *
         * @return this CurlRequest instance
         */
        public CurlRequest gzip() {
            return compression(GZIP);
        }
    
        /**
         * Sets the compression type for the request.
         *
         * @param compression the compression type
         * @return this CurlRequest instance
         */
    Registered: Sat Dec 20 09:13:53 UTC 2025
    - Last Modified: Mon Nov 24 03:10:07 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/curl/CurlRequestTest.java

        }
    
        @Test
        public void testCompressionMethod() {
            CurlRequest request = new CurlRequest(Method.GET, "https://example.com");
            String compression = "deflate";
    
            CurlRequest result = request.compression(compression);
    
            assertSame(request, result); // Fluent API
        }
    
        @Test
        public void testSslSocketFactoryMethod() {
    Registered: Sat Dec 20 09:13:53 UTC 2025
    - Last Modified: Mon Nov 24 03:10:07 UTC 2025
    - 20.5K bytes
    - Viewed (0)
  5. docs/en/docs/advanced/middleware.md

    * `minimum_size` - Do not GZip responses that are smaller than this minimum size in bytes. Defaults to `500`.
    * `compresslevel` - Used during GZip compression. It is an integer ranging from 1 to 9. Defaults to `9`. Lower value results in faster compression but larger file sizes, while higher value results in slower compression but smaller file sizes.
    
    ## Other middlewares { #other-middlewares }
    
    There are many other ASGI middlewares.
    
    For example:
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 4.4K bytes
    - Viewed (0)
  6. docs/en/docs/how-to/custom-request-and-route.md

    ///
    
    ## Use cases { #use-cases }
    
    Some use cases include:
    
    * Converting non-JSON request bodies to JSON (e.g. <a href="https://msgpack.org/index.html" class="external-link" target="_blank">`msgpack`</a>).
    * Decompressing gzip-compressed request bodies.
    * Automatically logging all request bodies.
    
    ## Handling custom request body encodings { #handling-custom-request-body-encodings }
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 10 08:55:32 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  7. README.md

    =====
    
    A simple cURL-like Java HTTP client.
    
    ## Features
    
    - Fluent API for building HTTP requests (GET, POST, PUT, DELETE, HEAD, OPTIONS, CONNECT, TRACE)
    - Support for query parameters, headers, body (String or stream), compression, SSL configuration, proxies, and timeouts
    - Automatic in-memory or on-disk caching of request/response bodies
    - Synchronous and asynchronous (callback) execution
    - Minimal dependencies (only Apache Commons IO)
    
    Registered: Sat Dec 20 09:13:53 UTC 2025
    - Last Modified: Thu Nov 20 13:34:13 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/helper/DocumentHelper.java

                    }
                }
            }
            return hash;
        }
    
        /**
         * Encodes a similar document hash using GZIP compression and Base64 encoding.
         * This reduces storage space for hash values while maintaining uniqueness.
         *
         * @param hash the hash string to encode
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 17.4K bytes
    - Viewed (0)
  9. CHANGELOG.md

        HTTP/1.1. We also reimplemented our websocket client to use this new mechanism.
    
     *  New: The `okhttp-zstd` module negotiates [Zstandard (zstd)][zstd] compression with servers that
        support it. It integrates a new (unstable) [ZSTD-KMP] library, also from Square. Enable it like
        this:
    
        ```kotlin
        val client = OkHttpClient.Builder()
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Fri Dec 05 16:02:59 UTC 2025
    - 36.2K bytes
    - Viewed (2)
  10. docs/en/docs/release-notes.md

            * Run middleware-like code only for a subset of *path operations*.
            * Process a request before passing it to a *path operation function*. E.g. decompressing, deserializing, etc.
            * Processing a response after being generated by *path operation functions* but before returning it. E.g. adding custom headers, logging, adding extra metadata.
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 19:06:15 UTC 2025
    - 586.7K bytes
    - Viewed (0)
Back to top