- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 61 for encodeUrl (0.27 sec)
-
src/test/java/org/codelibs/fess/crawler/transformer/FessFileTransformerTest.java
url = "file:/" + encodeUrl("ホーム") + "/user"; exp = "localhost"; assertEquals(exp, transformer.getHostOnFile(url)); url = "file:/c:/" + encodeUrl("ホーム") + "/user"; exp = "localhost"; assertEquals(exp, transformer.getHostOnFile(url)); url = "file:////" + encodeUrl("サーバー") + "/home/user"; exp = "サーバー";
Java - Registered: Mon May 06 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 8.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/PathMappingHelper.java
public class PathMappingHelper extends AbstractConfigHelper { private static final Logger logger = LogManager.getLogger(PathMappingHelper.class); protected static final String FUNCTION_ENCODEURL_MATCHER = "function:encodeUrl"; protected static final String GROOVY_MATCHER = "groovy:"; protected final Map<String, List<PathMapping>> pathMappingMap = new HashMap<>();
Java - Registered: Mon May 06 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 7.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/go/GoAction.java
} } else { hash = StringUtil.EMPTY; } if (!isFileSystemPath(targetUrl)) { return HtmlResponse.fromRedirectPathAsIs(DocumentUtil.encodeUrl(targetUrl + hash)); } if (!fessConfig.isSearchFileProxyEnabled()) { return HtmlResponse.fromRedirectPathAsIs(targetUrl + hash); }
Java - Registered: Mon May 06 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 6.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/util/DocumentUtil.java
return (T) value; } return (T) Boolean.valueOf(value.toString()); } return null; } public static String encodeUrl(final String url) { final String enc = LaRequestUtil.getOptionalRequest().filter(req -> req.getCharacterEncoding() != null) .map(HttpServletRequest::getCharacterEncoding).orElse(Constants.UTF_8);
Java - Registered: Mon May 06 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/crawler/transformer/FessXpathTransformer.java
Java - Registered: Mon May 06 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 41.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/taglib/FessFunctions.java
Java - Registered: Mon May 06 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 16.9K bytes - Viewed (0) -
fastapi/encoders.py
[FastAPI docs for JSON Compatible Encoder](https://fastapi.tiangolo.com/tutorial/encoder/). """ custom_encoder = custom_encoder or {} if custom_encoder: if type(obj) in custom_encoder: return custom_encoder[type(obj)](obj) else: for encoder_type, encoder_instance in custom_encoder.items(): if isinstance(obj, encoder_type):
Python - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 21:56:59 GMT 2024 - 10.8K bytes - Viewed (0) -
docs/de/docs/reference/encoders.md
# Encoder – `jsonable_encoder`
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Mon Feb 19 15:54:52 GMT 2024 - 72 bytes - Viewed (0) -
tests/test_jsonable_encoder.py
pet = {"name": "Firulais", "owner": {"name": "Foo"}} assert jsonable_encoder(pet) == {"name": "Firulais", "owner": {"name": "Foo"}} assert jsonable_encoder(pet, include={"name"}) == {"name": "Firulais"} assert jsonable_encoder(pet, exclude={"owner"}) == {"name": "Firulais"} assert jsonable_encoder(pet, include={}) == {} assert jsonable_encoder(pet, exclude={}) == { "name": "Firulais", "owner": {"name": "Foo"},
Python - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 21:56:59 GMT 2024 - 9K bytes - Viewed (0) -
docs/pt/docs/tutorial/encoder.md
Você pode usar a função `jsonable_encoder` para resolver isso. A função recebe um objeto, como um modelo Pydantic e retorna uma versão compatível com JSON: === "Python 3.10+" ```Python hl_lines="4 21" {!> ../../../docs_src/encoder/tutorial001_py310.py!} ``` === "Python 3.8+" ```Python hl_lines="5 22" {!> ../../../docs_src/encoder/tutorial001.py!} ```
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 1.9K bytes - Viewed (0)