- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 28 for getOptionalRequest (0.31 sec)
-
src/main/java/org/codelibs/fess/util/WebApiUtil.java
LaRequestUtil.getOptionalRequest().ifPresent(req -> req.setAttribute(WEB_API_EXCEPTION, new WebApiException(statusCode, message))); } 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/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) {
Java - Registered: Mon May 06 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 16.9K 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/UserInfoHelper.java
protected String cookiePath = "/"; protected Boolean cookieSecure; protected boolean httpOnly = true; public String getUserCode() { return LaRequestUtil.getOptionalRequest().map(request -> { String userCode = (String) request.getAttribute(Constants.USER_CODE); if (StringUtil.isNotBlank(userCode)) { return 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/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"); }
Java - Registered: Mon May 06 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 15.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/base/SearchForm.java
return stream(lang).get(stream -> stream.filter(StringUtil::isNotBlank).distinct().toArray(n -> new String[n])); } @Override public GeoInfo getGeoInfo() { return LaRequestUtil.getOptionalRequest().map(this::createGeoInfo) .orElseGet(() -> ComponentUtil.getQueryHelper().getDefaultGeoInfo()); } @Override public FacetInfo getFacetInfo() {
Java - Registered: Mon May 06 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 4.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/query/QueryCommand.java
return true; } } return false; } protected OptionalThing<String[]> getQueryLanguages() { return LaRequestUtil.getOptionalRequest().map(request -> ComponentUtil.getFessConfig().getQueryLanguages(request.getLocales(), (String[]) request.getAttribute(Constants.REQUEST_LANGUAGES))); }
Java - Registered: Mon May 06 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 5.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/entity/QueryContext.java
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/fess/helper/UserAgentHelper.java
protected static final String USER_AGENT = "user-agent"; protected static final String USER_AGENT_TYPE = "ViewHelper.UserAgent"; public UserAgentType getUserAgentType() { return LaRequestUtil.getOptionalRequest().map(request -> { UserAgentType uaType = (UserAgentType) request.getAttribute(USER_AGENT_TYPE); if (uaType == null) { final String userAgent = request.getHeader(USER_AGENT);
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/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) {
Java - Registered: Mon May 06 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 40.1K bytes - Viewed (2)