- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 111 for encodeId (0.04 sec)
-
src/main/java/org/codelibs/fess/app/web/admin/storage/AdminStorageAction.java
} /** * 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) { if (objectName == null) { return StringUtil.EMPTY; }Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Sat Dec 13 02:21:17 UTC 2025 - 22.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/storage/S3StorageClient.java
} /** * Encodes an object name to a URL-safe base64 string. * * @param objectName the object name to encode * @return base64 encoded string */ private String encodeId(final String objectName) { if (objectName == null) { return StringUtil.EMPTY; }Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Sat Dec 13 02:21:17 UTC 2025 - 10.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/storage/GcsStorageClient.java
} /** * Encodes an object name to a URL-safe base64 string. * * @param objectName the object name to encode * @return base64 encoded string */ private String encodeId(final String objectName) { if (objectName == null) { return StringUtil.EMPTY; }Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Sat Dec 13 02:21:17 UTC 2025 - 10.3K bytes - Viewed (0) -
fastapi/encoders.py
Convert any object to something that can be encoded in JSON. This is used internally by FastAPI to make sure anything you return can be encoded as JSON before it is sent to the client. You can also use it yourself, for example to convert objects before saving them in a database that supports only JSON. Read more about it in the [FastAPI docs for JSON Compatible Encoder](https://fastapi.tiangolo.com/tutorial/encoder/).Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Dec 27 12:54:56 UTC 2025 - 10.7K bytes - Viewed (0) -
src/main/java/org/codelibs/core/misc/Base64Util.java
*/ protected Base64Util() { } /** * Encodes data in Base64. * <p> * This method uses {@link java.util.Base64.Encoder} for encoding. * </p> * * @param inData * The data to encode * @return The encoded data, or an empty string if the input is null or empty */ public static String encode(final byte[] inData) { if (ArrayUtil.isEmpty(inData)) {Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Sat Nov 22 11:21:59 UTC 2025 - 2.1K bytes - Viewed (0) -
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 }Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Tue Dec 16 16:33:45 UTC 2025 - 1.8K bytes - Viewed (0) -
docs/pt/docs/tutorial/encoder.md
# Codificador Compatível com JSON { #json-compatible-encoder } Existem alguns casos em que você pode precisar converter um tipo de dados (como um modelo Pydantic) para algo compatível com JSON (como um `dict`, `list`, etc). Por exemplo, se você precisar armazená-lo em um banco de dados. Para isso, **FastAPI** fornece uma função `jsonable_encoder()`. ## Usando a função `jsonable_encoder` { #using-the-jsonable-encoder }Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Nov 12 16:23:57 UTC 2025 - 1.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/taglib/FessFunctions.java
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) { if (value == null) {
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Fri Nov 28 16:29:12 UTC 2025 - 25.4K bytes - Viewed (1) -
src/test/java/org/codelibs/core/misc/Base64UtilTest.java
} /** * Test encode with single byte * * @throws Exception */ public void testEncode_SingleByte() throws Exception { final byte[] singleByte = new byte[] { 'A' }; final String encoded = Base64Util.encode(singleByte); assertNotNull("Encoded result should not be null", encoded); final byte[] decoded = Base64Util.decode(encoded);Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Sat Nov 22 11:21:59 UTC 2025 - 6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/storage/StorageItem.java
*/ public ZonedDateTime getLastModified() { return lastModified; } /** * Returns the base64-encoded ID of the item. * * @return the encoded ID */ public String getEncodedId() { return encodedId; }Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Sat Dec 13 02:21:17 UTC 2025 - 2.7K bytes - Viewed (0)