- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 43 for setAttribute (1.62 sec)
-
src/main/java/org/codelibs/fess/util/WebApiUtil.java
} public static void setError(final int statusCode, final Exception e) { LaRequestUtil.getOptionalRequest().ifPresent(req -> req.setAttribute(WEB_API_EXCEPTION, new WebApiException(statusCode, e))); } public static void validate() {
Java - Registered: Mon May 06 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 1.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/UserInfoHelper.java
String userCode = sessionManager.getAttribute(USER_BEAN, TypicalUserBean.class) .filter(u -> !Constants.EMPTY_USER_ID.equals(u.getUserId())).map(u -> u.getUserId().toString()).orElse(StringUtil.EMPTY); if (StringUtil.isBlank(userCode)) { return null; } userCode = createUserCodeFromUserId(userCode); request.setAttribute(Constants.USER_CODE, userCode);
Java - Registered: Mon May 06 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 8.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/SearchHelper.java
final long requestedTime = startTime; LaRequestUtil.getOptionalRequest().ifPresent(request -> { request.setAttribute(Constants.REQUEST_LANGUAGES, params.getLanguages()); request.setAttribute(Constants.REQUEST_QUERIES, params.getQuery()); }); String query = ComponentUtil.getQueryStringBuilder().params(params).sortField(params.getSort()).build();
Java - Registered: Mon May 06 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 16.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/entity/QueryContext.java
highlightedQuerySet = new HashSet<>(); request.setAttribute(Constants.HIGHLIGHT_QUERIES, highlightedQuerySet); fieldLogMap = (Map<String, List<String>>) request.getAttribute(Constants.FIELD_LOGS); if (fieldLogMap == null) { fieldLogMap = new HashMap<>(); request.setAttribute(Constants.FIELD_LOGS, fieldLogMap); } });
Java - Registered: Mon May 06 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 5.8K bytes - Viewed (0) -
src/main/java/org/codelibs/core/xml/DocumentBuilderFactoryUtil.java
final DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance(); if (!external) { try { factory.setAttribute(XMLConstants.ACCESS_EXTERNAL_DTD, ""); factory.setAttribute(XMLConstants.ACCESS_EXTERNAL_SCHEMA, ""); } catch (final Exception e) { if (logger.isDebugEnabled()) {
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 2.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/base/FessSearchAction.java
formBuf.append(StringEscapeUtils.escapeHtml4(entry.getKey())); formBuf.append("\"/>"); } request.setAttribute(queryKey, queryBuf.toString()); request.setAttribute(formKey, formBuf.toString()); } } protected HtmlResponse redirectToLogin() { return systemHelper.getRedirectResponseToLogin(redirect(SsoAction.class));
Java - Registered: Mon May 06 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 10K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/search/SearchAction.java
LaRequestUtil.getOptionalRequest().ifPresent(request -> { final HttpSession session = request.getSession(false); if (session != null && form.num != null) { session.setAttribute(Constants.RESULTS_PER_PAGE, form.num); } }); } return doSearch(form); } @Execute public HtmlResponse prev(final SearchForm form) {
Java - Registered: Mon May 06 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 12.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/VirtualHostHelper.java
} public String getVirtualHostKey() { return LaRequestUtil.getOptionalRequest().map(req -> (String) req.getAttribute(FessConfig.VIRTUAL_HOST_VALUE)).orElseGet(() -> { final String value = processVirtualHost(s -> s, StringUtil.EMPTY); LaRequestUtil.getOptionalRequest().ifPresent(req -> req.setAttribute(FessConfig.VIRTUAL_HOST_VALUE, value)); return value; }); }
Java - Registered: Mon May 06 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 2.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/UserAgentHelper.java
Java - Registered: Mon May 06 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 2.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/login/LoginAction.java
}); if (ComponentUtil.getFessConfig().isValidAdminPassword(password)) { return loginRedirect; } getSession().ifPresent(session -> session.setAttribute(INVALID_OLD_PASSWORD, password)); return asHtml(virtualHost(path_Login_NewpasswordJsp)); } catch (final LoginFailureException lfe) { if (logger.isDebugEnabled()) {
Java - Registered: Mon May 06 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 6.1K bytes - Viewed (0)