- Sort Score
- Result 10 results
- Languages All
Results 1 - 9 of 9 for getClientIp (0.09 sec)
-
src/main/java/org/codelibs/fess/helper/ActivityHelper.java
printLog(buf.toString()); } protected void printLog(final String message) { logger.info(message); } protected String getClientIp() { return LaRequestUtil.getOptionalRequest().map(req -> ComponentUtil.getViewHelper().getClientIp(req)).orElse("-"); } protected enum Action { LOGIN, LOGOUT, ACCESS, LOGIN_FAILURE, UPDATE_PERMISSION; }
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 7.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/SuggestHelper.java
} else if (Constants.SEARCH_LOG_ACCESS_TYPE_WEB.equals(searchLog.getAccessType())) { sessionId = searchLog.getClientIp(); } else { sessionId = searchLog.getClientIp() + '_' + searchLog.getSearchWord(); } final LocalDateTime requestedAt = searchLog.getRequestedAt();
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Fri Oct 11 21:20:39 UTC 2024 - 18.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/es/log/bsentity/BsSearchLog.java
} public void setAccessType(String value) { registerModifiedProperty("accessType"); this.accessType = value; } public String getClientIp() { checkSpecifiedProperty("clientIp"); return convertEmptyToNull(clientIp); } public void setClientIp(String value) { registerModifiedProperty("clientIp");
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 12.2K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/ActivityHelperTest.java
} @Override protected void printLog(final String message) { localLogMsg.set(message); } @Override protected String getClientIp() { return StringUtil.EMPTY; } }; } public void test_login() { activityHelper.useEcsFormat = false; activityHelper.login(OptionalThing.empty());
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 14.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/es/log/bsentity/dbmeta/SearchLogDbm.java
{ setupEpg(_epgMap, et -> ((SearchLog) et).getAccessType(), (et, vl) -> ((SearchLog) et).setAccessType(DfTypeUtil.toString(vl)), "accessType"); setupEpg(_epgMap, et -> ((SearchLog) et).getClientIp(), (et, vl) -> ((SearchLog) et).setClientIp(DfTypeUtil.toString(vl)), "clientIp"); setupEpg(_epgMap, et -> ((SearchLog) et).getHitCount(), (et, vl) -> ((SearchLog) et).setHitCount(DfTypeUtil.toLong(vl)),
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 16.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/backup/AdminBackupAction.java
appendJson("roles", entity.getRoles(), buf).append(','); appendJson("user-agent", entity.getUserAgent(), buf).append(','); appendJson("client-ip", entity.getClientIp(), buf).append(','); appendJson("access-type", entity.getAccessType(), buf).append(','); appendJson("query-time", entity.getQueryTime(), buf).append(',');
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Sat Oct 12 01:54:46 UTC 2024 - 28.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/SearchLogHelper.java
searchLog.setUser(user.getUserId()); }); LaRequestUtil.getOptionalRequest().ifPresent(req -> { searchLog.setClientIp(StringUtils.abbreviate(ComponentUtil.getViewHelper().getClientIp(req), 100)); searchLog.setReferer(StringUtils.abbreviate(req.getHeader("referer"), 1000)); searchLog.setUserAgent(StringUtils.abbreviate(req.getHeader("user-agent"), 255));
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Mon Jul 22 02:07:37 UTC 2024 - 21.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/service/SearchLogService.java
params.put("Offset", toNumberString(e.getQueryOffset())); params.put("Page Size", toNumberString(e.getQueryPageSize())); params.put("Client IP", e.getClientIp()); params.put("Referer", e.getReferer()); params.put("Languages", e.getLanguages()); params.put("Virtual Host", e.getVirtualHost());
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 28.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/ViewHelper.java
response.contentType(mimeType + "; charset=" + charset); return; } } response.contentType(mimeType); } public String getClientIp(final HttpServletRequest request) { final String value = request.getHeader("x-forwarded-for"); if (StringUtil.isNotBlank(value)) { return value; }
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Fri Oct 11 21:20:39 UTC 2024 - 40.2K bytes - Viewed (0)