- Sort Score
- Num 10 results
- Language All
Results 11 - 19 of 19 for getOptionalRequest (0.16 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
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) .orElse(Constants.UTF_8);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) -
src/main/java/org/codelibs/fess/app/web/search/SearchAction.java
* @return The HTML response. */ @Execute public HtmlResponse search(final SearchForm form) { if (viewHelper.isUseSession()) { LaRequestUtil.getOptionalRequest().ifPresent(request -> { final HttpSession session = request.getSession(false); if (session != null && form.num != null) {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Aug 07 03:06:29 GMT 2025 - 14K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/helper/RoleQueryHelper.java
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Nov 28 16:29:12 GMT 2025 - 15.1K 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/app/web/admin/scheduler/AdminSchedulerAction.java
scheduledJobService.getScheduledJob(id).ifPresent(entity -> { loadScheduledJob(form, entity); form.crudMode = crudMode; LaRequestUtil.getOptionalRequest().ifPresent(request -> { request.setAttribute("running", entity.isRunning()); request.setAttribute("enabled", entity.isEnabled()); });
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Nov 20 13:56:35 GMT 2025 - 21.8K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/helper/ActivityHelper.java
logger.info(message); } /** * Get the client IP. * @return The client IP. */ protected String getClientIp() { return LaRequestUtil.getOptionalRequest().map(req -> ComponentUtil.getViewHelper().getClientIp(req)).orElse("-"); } /** * The action. */ protected enum Action { /** * The login action.
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 26 11:45:43 GMT 2026 - 13.1K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/sso/spnego/SpnegoAuthenticator.java
* @throws SsoLoginException if SPNEGO authentication fails */ @Override public LoginCredential getLoginCredential() { return LaRequestUtil.getOptionalRequest().map(request -> { if (logger.isDebugEnabled()) { logger.debug("Logging in with SPNEGO Authenticator"); }Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Mar 15 08:18:23 GMT 2026 - 18.2K bytes - Click Count (3) -
src/main/java/org/codelibs/fess/chat/ChatClient.java
* Resolves the context path from the current request, or empty string if unavailable. * * @return the context path */ protected String resolveContextPath() { return LaRequestUtil.getOptionalRequest().map(HttpServletRequest::getContextPath).orElse(""); } /** * Builds a go URL for the given document. * * @param contextPath the application context pathCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 21 06:04:58 GMT 2026 - 56.6K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/sso/entraid/EntraIdAuthenticator.java
groupCache = CacheBuilder.newBuilder().expireAfterWrite(groupCacheExpiry, TimeUnit.SECONDS).build(); } @Override public LoginCredential getLoginCredential() { return LaRequestUtil.getOptionalRequest().map(request -> { if (logger.isDebugEnabled()) { logger.debug("Logging in with Entra ID Authenticator"); } final HttpSession session = request.getSession(false);
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Mar 15 08:03:27 GMT 2026 - 56.8K bytes - Click Count (0)