Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 3 of 3 for getCookieSearchParameterMaxLengthAsInteger (0.18 seconds)

  1. src/test/java/org/codelibs/fess/helper/SearchHelperTest.java

        }
    
        @Test
        public void test_storeSearchParameters_exceedsMaxLength() {
            ComponentUtil.setFessConfig(new MockFessConfig() {
                @Override
                public Integer getCookieSearchParameterMaxLengthAsInteger() {
                    return 10; // Very small limit
                }
            });
    
            String longValue = "a".repeat(1000);
            getMockRequest().setParameter("q", longValue);
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 19.2K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/mylasta/direction/FessConfig.java

         * @return The value of found property. (NotNull: if not found, exception but basically no way)
         * @throws NumberFormatException When the property is not integer.
         */
        Integer getCookieSearchParameterMaxLengthAsInteger();
    
        /**
         * Get the value for the key 'cookie.search.parameter.name'. <br>
         * The value is, e.g. fsrp <br>
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 06:59:19 GMT 2026
    - 576.9K bytes
    - Click Count (2)
  3. src/main/java/org/codelibs/fess/helper/SearchHelper.java

                        if (encoded.length() > fessConfig.getCookieSearchParameterMaxLengthAsInteger()) {
                            logger.warn("Encoded search parameters exceed the maximum cookie length: {} > {}. Skipping cookie storage.",
                                    encoded.length(), fessConfig.getCookieSearchParameterMaxLengthAsInteger());
                            return;
                        }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Dec 20 05:56:45 GMT 2025
    - 36.3K bytes
    - Click Count (0)
Back to Top