- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 15 for getOptionalRequest (0.14 sec)
-
src/main/java/org/codelibs/fess/taglib/FessFunctions.java
} }); protected FessFunctions() { // nothing } public static Boolean labelExists(final String value) { return LaRequestUtil.getOptionalRequest().map(req -> { @SuppressWarnings("unchecked") final Map<String, String> labelValueMap = (Map<String, String>) req.getAttribute(Constants.LABEL_VALUE_MAP); if (labelValueMap != null) {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 16.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/sso/saml/SamlAuthenticator.java
}); return new SettingsBuilder().fromValues(params).build(); } @Override public LoginCredential getLoginCredential() { return LaRequestUtil.getOptionalRequest().map(request -> { if (logger.isDebugEnabled()) { logger.debug("Logging in with SAML Authenticator"); }
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 15.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/SearchHelper.java
final long startTime = systemHelper.getCurrentTimeAsLong(); final long requestedTime = startTime; final SearchRequestParams params = rewrite(searchRequestParams); LaRequestUtil.getOptionalRequest().ifPresent(request -> { request.setAttribute(Constants.REQUEST_LANGUAGES, params.getLanguages()); request.setAttribute(Constants.REQUEST_QUERIES, params.getQuery()); });
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Fri Oct 11 21:20:39 UTC 2024 - 19.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/rank/fusion/DefaultSearcher.java
@Override protected SearchResult search(final String query, final SearchRequestParams params, final OptionalThing<FessUserBean> userBean) { final int pageSize = params.getPageSize(); LaRequestUtil.getOptionalRequest().ifPresent(request -> { request.setAttribute(Constants.REQUEST_PAGE_SIZE, pageSize); }); final OptionalEntity<SearchResponse> searchResponseOpt = sendRequest(query, params, userBean);
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Mon Jul 22 06:56:21 UTC 2024 - 10.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/ViewHelper.java
} matcher.appendTail(buf); return buf.toString(); }).orElse(value); } protected OptionalThing<Set<String>> getQuerySet() { return LaRequestUtil.getOptionalRequest().map(req -> ((Set<String>) req.getAttribute(Constants.HIGHLIGHT_QUERIES))) .filter(s -> s != null); } public String getContentDescription(final Map<String, Object> document) {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Fri Oct 11 21:20:39 UTC 2024 - 40.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/api/ApiResult.java
final FessMessages messages = new FessMessages(); validationMessagesLambda.message(messages); message = ComponentUtil.getMessageManager() .toMessageList(LaRequestUtil.getOptionalRequest().map(HttpServletRequest::getLocale).orElse(Locale.ENGLISH), messages) .stream().collect(Collectors.joining(" ")); return this; } }
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Fri Oct 11 21:20:39 UTC 2024 - 12.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/RoleQueryHelper.java
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Jul 25 01:48:41 UTC 2024 - 11.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/search/SearchAction.java
}); } @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) {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 12.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/sso/spnego/SpnegoAuthenticator.java
/* (non-Javadoc) * @see org.codelibs.fess.sso.spnego.SsoAuthenticator#getLoginCredential() */ @Override public LoginCredential getLoginCredential() { return LaRequestUtil.getOptionalRequest().map(request -> { if (logger.isDebugEnabled()) { logger.debug("Logging in with SPNEGO Authenticator"); }
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Sat Oct 12 01:54:46 UTC 2024 - 11.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/QueryHelper.java
return Constants.SEARCH_PREFERENCE_LOCAL; } return user.getUserId(); }).ifPresent(p -> searchRequestBuilder.setPreference(p)).orElse(() -> LaRequestUtil.getOptionalRequest().map(r -> { final HttpSession session = r.getSession(false); if (session != null) { return session.getId(); }
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 11.9K bytes - Viewed (0)