- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 29 for getOptionalRequest (0.07 sec)
-
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.
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 52.4K 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 Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 12.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/searchlist/ListForm.java
num = fessConfig.getPagingSearchPageMaxSizeAsInteger(); } } @Override public Object getAttribute(final String name) { return LaRequestUtil.getOptionalRequest().map(req -> req.getAttribute(name)).orElse(null); } @Override public Locale getLocale() { return ComponentUtil.getRequestManager().getUserLocale(); } @Override
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 5.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/entity/QueryContext.java
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 9.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/query/QueryCommand.java
* @return An optional containing the query languages array, or empty if not available. */ protected OptionalThing<String[]> getQueryLanguages() { return LaRequestUtil.getOptionalRequest() .map(request -> ComponentUtil.getFessConfig() .getQueryLanguages(request.getLocales(), (String[]) request.getAttribute(Constants.REQUEST_LANGUAGES))); } /**
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 9.6K bytes - Viewed (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) {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 14K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/query/parser/QueryParser.java
final LuceneQueryParser parser = new LuceneQueryParser(defaultField, analyzer); parser.setAllowLeadingWildcard(allowLeadingWildcard); LaRequestUtil.getOptionalRequest().ifPresent(req -> { if (req.getAttribute(Constants.DEFAULT_QUERY_OPERATOR) instanceof final String op) { parser.setDefaultOperator(Operator.valueOf(op)); } else {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 10.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/RoleQueryHelper.java
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 15.1K bytes - Viewed (0) -
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);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 7.2K bytes - Viewed (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.
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 10.8K bytes - Viewed (0)