- Sort Score
- Num 10 results
- Language All
Results 1 - 3 of 3 for getOptionalRequest (0.08 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
src/main/java/org/codelibs/fess/helper/ViewHelper.java
* * @return OptionalThing containing the query set */ protected OptionalThing<Set<String>> getQuerySet() { return LaRequestUtil.getOptionalRequest() .map(req -> ((Set<String>) req.getAttribute(Constants.HIGHLIGHT_QUERIES))) .filter(s -> s != null); } /** * Gets the content description from highlighted fields.Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Nov 28 16:29:12 GMT 2025 - 52.6K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/api/json/SearchApiManager.java
* @param status The status code. * @param body The body. */ protected void writeJsonResponse(final int status, final String body) { final String callback = LaRequestUtil.getOptionalRequest().map(req -> req.getParameter("callback")).orElse(null); final boolean isJsonp = ComponentUtil.getFessConfig().isApiJsonpEnabled() && StringUtil.isNotBlank(callback);Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 27 13:56:32 GMT 2026 - 55.4K bytes - Click Count (1) -
src/main/java/org/codelibs/fess/llm/AbstractLlmClient.java
* * @return the user's locale, or default locale if not in request context */ protected Locale getUserLocale() { return LaRequestUtil.getOptionalRequest().map(request -> { final HttpSession session = request.getSession(false); if (session != null && session.getAttribute(LastaWebKey.USER_LOCALE_KEY) instanceof final Locale sessionLocale) {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 21 06:04:58 GMT 2026 - 72K bytes - Click Count (0)