Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 111 for encodeUrl (0.06 seconds)

  1. src/main/java/org/codelibs/fess/util/DocumentUtil.java

         *
         * @param url the URL to encode
         * @return the encoded URL with non-URL-safe characters properly encoded
         */
        public static String encodeUrl(final String url) {
            final String enc = LaRequestUtil.getOptionalRequest()
                    .filter(req -> req.getCharacterEncoding() != null)
                    .map(HttpServletRequest::getCharacterEncoding)
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 7.2K bytes
    - Click Count (0)
  2. src/main/webapp/WEB-INF/view/admin/dashboard/admin_dashboard.jsp

        </jsp:include>
    
        <main class="content-wrapper position-relative">
            <iframe class="w-100 h-100 position-absolute" style="border: 0;"
                    src="<%=request.getContextPath()%>${serverPath}<%= response.encodeURL("/_plugin/kopf/") %>"
                    title="<la:message key="labels.dashboard_plugin" />"></iframe>
        </main>
    
        <jsp:include page="/WEB-INF/view/common/admin/footer.jsp"></jsp:include>
    </div>
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Nov 13 05:54:52 GMT 2025
    - 1.2K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/app/web/go/GoAction.java

                hash = StringUtil.EMPTY;
            }
    
            if (!isFileSystemPath(targetUrl)) {
                if (isValidRedirectUrl(targetUrl)) {
                    return HtmlResponse.fromRedirectPathAsIs(DocumentUtil.encodeUrl(targetUrl + hash));
                } else {
                    logger.warn("Invalid redirect URL detected: {}", targetUrl);
                    saveError(messages -> messages.addErrorsDocumentNotFound(GLOBAL, form.docId));
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Dec 11 09:47:03 GMT 2025
    - 9K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/helper/PathMappingHelper.java

            if (FUNCTION_ENCODEURL_MATCHER.equals(replacement)) {
                return (u, m) -> DocumentUtil.encodeUrl(u);
            }
            if (!replacement.startsWith(GROOVY_MATCHER)) {
                return (u, m) -> m.replaceAll(replacement);
            }
            final String template = replacement.substring(GROOVY_MATCHER.length());
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 9.5K bytes
    - Click Count (0)
  5. docs/fr/docs/tutorial/encoder.md

    # Encodeur compatible JSON { #json-compatible-encoder }
    
    Il existe des cas où vous pourriez avoir besoin de convertir un type de données (comme un modèle Pydantic) en quelque chose de compatible avec JSON (comme un `dict`, `list`, etc.).
    
    Par exemple, si vous devez le stocker dans une base de données.
    
    Pour cela, **FastAPI** fournit une fonction `jsonable_encoder()`.
    
    ## Utiliser `jsonable_encoder` { #using-the-jsonable-encoder }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:37:13 GMT 2026
    - 1.8K bytes
    - Click Count (0)
  6. docs/uk/docs/tutorial/encoder.md

    # JSON-сумісний кодувальник { #json-compatible-encoder }
    
    Існують випадки, коли вам може знадобитися перетворити тип даних (наприклад, модель Pydantic) на щось сумісне з JSON (наприклад, `dict`, `list` тощо).
    
    Наприклад, якщо вам потрібно зберегти це в базі даних.
    
    Для цього **FastAPI** надає функцію `jsonable_encoder()`.
    
    ## Використання `jsonable_encoder` { #using-the-jsonable-encoder }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:27:41 GMT 2026
    - 2.4K bytes
    - Click Count (0)
  7. docs/ja/docs/tutorial/encoder.md

    # JSON互換エンコーダ { #json-compatible-encoder }
    
    データ型(Pydanticモデルのような)をJSONと互換性のあるもの(`dict`や`list`など)に変換する必要があるケースがあります。
    
    例えば、データベースに保存する必要がある場合です。
    
    そのために、**FastAPI** は`jsonable_encoder()`関数を提供しています。
    
    ## `jsonable_encoder`の使用 { #using-the-jsonable-encoder }
    
    JSON互換のデータのみを受信するデータベース`fake_db`があるとしましょう。
    
    例えば、`datetime`オブジェクトはJSONと互換性がないので、受け取られません。
    
    そのため、`datetime`オブジェクトは[ISO形式](https://en.wikipedia.org/wiki/ISO_8601)のデータを含む`str`に変換されなければなりません。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:07:17 GMT 2026
    - 1.8K bytes
    - Click Count (0)
  8. docs/de/docs/tutorial/encoder.md

    # JSON-kompatibler Encoder { #json-compatible-encoder }
    
    Es gibt Fälle, da möchten Sie einen Datentyp (etwa ein Pydantic-Modell) in etwas konvertieren, das kompatibel mit JSON ist (etwa ein `dict`, eine `list`, usw.).
    
    Zum Beispiel, wenn Sie es in einer Datenbank speichern möchten.
    
    Dafür bietet **FastAPI** eine Funktion `jsonable_encoder()`.
    
    ## `jsonable_encoder` verwenden { #using-the-jsonable-encoder }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:58:09 GMT 2026
    - 1.8K bytes
    - Click Count (0)
  9. docs/ru/docs/tutorial/encoder.md

    # JSON-совместимый кодировщик { #json-compatible-encoder }
    
    В некоторых случаях может потребоваться преобразование типа данных (например, Pydantic-модели) в тип, совместимый с JSON (например, `dict`, `list` и т.д.).
    
    Например, если необходимо хранить его в базе данных.
    
    Для этого **FastAPI** предоставляет функцию `jsonable_encoder()`.
    
    ## Использование `jsonable_encoder` { #using-the-jsonable-encoder }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:56:20 GMT 2026
    - 2.6K bytes
    - Click Count (0)
  10. docs/es/docs/tutorial/encoder.md

    # Codificador compatible con JSON { #json-compatible-encoder }
    
    Hay algunos casos en los que podrías necesitar convertir un tipo de dato (como un modelo de Pydantic) a algo compatible con JSON (como un `dict`, `list`, etc).
    
    Por ejemplo, si necesitas almacenarlo en una base de datos.
    
    Para eso, **FastAPI** proporciona una función `jsonable_encoder()`.
    
    ## Usando el `jsonable_encoder` { #using-the-jsonable-encoder }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:15:55 GMT 2026
    - 1.7K bytes
    - Click Count (0)
Back to Top