Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for encodeJsp (0.05 sec)

  1. src/main/java/org/codelibs/fess/app/web/admin/design/AdminDesignAction.java

        @Secured({ ROLE })
        public HtmlResponse edit(final EditForm form) {
            final String jspType = "view";
            final File jspFile = getJspFile(form.fileName, jspType);
            try {
                form.content = encodeJsp(new String(FileUtil.readBytes(jspFile), Constants.UTF_8));
            } catch (final UnsupportedEncodingException e) {
                throw new FessSystemException("Invalid encoding", e);
            }
            saveToken();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 17.3K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/util/DocumentUtil.java

                }
                return (T) Boolean.valueOf(value.toString());
            }
            return null;
        }
    
        /**
         * Encodes a URL by encoding non-URL-safe characters.
         * Uses the request's character encoding if available, otherwise defaults to UTF-8.
         * Only encodes characters that are not considered URL-safe according to CharUtil.
         *
         * @param url the URL to encode
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/taglib/FessFunctions.java

                    }
                    query = buf.toString();
                    request.setAttribute(key, query);
                }
                return query;
            }).orElse(null);
        }
    
        /**
         * Encodes a string to URL-safe Base64 format.
         *
         * @param value the string to encode
         * @return Base64 encoded string, or empty string if value is null
         */
        public static String base64(final String value) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 25.3K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/helper/CrawlingInfoHelper.java

                    }
                });
                return sessionIdList;
            });
        }
    
        /**
         * Generates a hashed ID from the provided URL ID string.
         * Encodes special characters using URL encoding or Base64 encoding as needed,
         * then applies a message digest algorithm to create a unique hash.
         *
         * @param urlId the URL ID string to generate a hash for
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 15.2K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/helper/DocumentHelper.java

                    if (logger.isDebugEnabled()) {
                        logger.debug("Failed to decode {}", hash, e);
                    }
                }
            }
            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: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 17.2K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/primitives/IntsTest.java

        }
        assertWithMessage("Hex string and dec parm").that(Ints.tryParse("FFFF", 10)).isNull();
        assertWithMessage("Mixed hex case").that((int) Ints.tryParse("ffFF", 16)).isEqualTo(65535);
      }
    
      /**
       * Encodes an integer as a string with given radix, then uses {@link Ints#tryParse(String, int)}
       * to parse the result. Asserts the result is the same as what we started with.
       */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 29.2K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/util/concurrent/AbstractFutureState.java

       *
       * This same problem is one of the reasons for us to likewise use package-private for the fields
       * in Waiter.
       */
    
      /**
       * This field encodes the current state of the future.
       *
       * <p>The valid values are:
       *
       * <ul>
       *   <li>{@code null} initial state, nothing has happened.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 33.2K bytes
    - Viewed (0)
  8. guava/src/com/google/common/util/concurrent/AbstractFutureState.java

       *
       * This same problem is one of the reasons for us to likewise use package-private for the fields
       * in Waiter.
       */
    
      /**
       * This field encodes the current state of the future.
       *
       * <p>The valid values are:
       *
       * <ul>
       *   <li>{@code null} initial state, nothing has happened.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 34.8K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/helper/SearchHelper.java

        }
    
        /**
         * Stores current search parameters in a browser cookie for later retrieval.
         *
         * This method serializes the current request parameters, compresses them using GZIP,
         * encodes them with Base64, and stores them in a secure HTTP cookie.
         */
        public void storeSearchParameters() {
            LaRequestUtil.getOptionalRequest().ifPresent(req -> {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 35.8K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/web/admin/storage/AdminStorageAction.java

         * @return the full object name
         */
        public static String getObjectName(final String path, final String name) {
            return getPathPrefix(path) + name;
        }
    
        /**
         * Encodes an object name to a URL-safe base64 string.
         *
         * @param objectName the object name to encode
         * @return base64 encoded string
         */
        protected static String encodeId(final String objectName) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 25.1K bytes
    - Viewed (0)
Back to top