- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 209 for PUT (0.02 sec)
-
KeyMatchTests.java
final Map<String, Object> requestBody = new HashMap<>(); L63: final String keyProp = NAME_PREFIX + id; L64: requestBody.put(KEY_PROPERTY, keyProp); L65: requestBody.put(KEY_PROPERTY, keyProp); L66: requestBody.put("query", "query" + id); L67: requestBody.put("max_size", new Integer(id).toString()); L68: requestBody.put("boost", 100); L69: return requestBody; L70: } L71: L72: @Override L73: protected Map<String, Object> getUpdateMap() { L74:...github.com/codelibs/fess/src/test/java/org/code...Thu Feb 22 01:37:57 UTC 2024 2.4K bytes -
ApiAdminDictProtwordsAction.java
messages.addErrorsCrudCouldNotFindCrudTable(GLOBAL, String.valueOf(id))); L66: return null; L67: })).status(ApiResult.Status.OK).result()); L68: } L69: L70: // PUT /api/admin/dict/protwords/setting/{dictId} L71: @Execute L72: public JsonResponse<ApiResult> put$setting(final String dictId, final CreateBody body) { L73: body.dictId = dictId; L74: validateApi(body, messages -> {}); L75: body.crudMode = CrudMode.CREATE; L76: final...github.com/codelibs/fess/src/main/java/org/code...Thu Feb 22 01:53:18 UTC 2024 7.2K bytes -
WebConfig.java
t.ROBOTS_TXT_ENABLED) == null) { L171: paramMap.put(Param.Client.ROBOTS_TXT_ENABLED, !fessConfig.isCrawlerIgnoreRobotsTxt()); L172: } L173: L174: final String userAgent = getUserAgent(); L175: if (!StringUtil.isNotBlank(userAgent) || (userAgent.startsWith(Constants.CRAWLING_USER_AGENT_PREFIX) L176: && userAgent.endsWith(Constants.CRAWLING_USER_AGENT_SUFFIX))) { L177: paramMap.put(Client.USER_AGENT, fessConfig.getUserAgentName()); L178: ...github.com/codelibs/fess/src/main/java/org/code...Fri Oct 11 21:11:58 UTC 2024 9.8K bytes -
RoleTests.java
requestBody = new HashMap<>(); L66: final String keyProp = NAME_PREFIX + id; L67: requestBody.put(KEY_PROPERTY, keyProp); L68: return requestBody; L69: } L70: L71: private static final String NEW_SUFFIX = "_new"; L72: L73: @Override L74: protected Map<String, Object> getUpdateMap() { L75: final Map<String, Object> requestBody = new HashMap<>(); L76: requestBody.put(KEY_PROPERTY, NAME_PREFIX + NEW_SUFFIX); L77: return requestBody; L78: } L79: L80: @Override...github.com/codelibs/fess/src/test/java/org/code...Thu Feb 22 01:37:57 UTC 2024 2.7K bytes -
ApiAdminDictKuromojiAction.java
messages.addErrorsCrudCouldNotFindCrudTable(GLOBAL, String.valueOf(id))); L66: return null; L67: })).status(ApiResult.Status.OK).result()); L68: } L69: L70: // PUT /api/admin/dict/kuromoji/setting/{dictId} L71: @Execute L72: public JsonResponse<ApiResult> put$setting(final String dictId, final CreateBody body) { L73: body.dictId = dictId; L74: validateApi(body, messages -> {}); L75: body.crudMode = CrudMode.CREATE; L76: final...github.com/codelibs/fess/src/main/java/org/code...Thu Feb 22 01:53:18 UTC 2024 7.3K bytes -
DataConfig.java
entry.getKey(); L153: if (key.startsWith(CRAWLER_PARAM_PREFIX)) { L154: factoryParamMap.put(key.substring(CRAWLER_PARAM_PREFIX.length()), entry.getValue()); L155: } L156: } L157: L158: // user agent L159: final String userAgent = paramMap.get(CRAWLER_USERAGENT); L160: if (StringUtil.isNotBlank(userAgent)) { L161: factoryParamMap.put(HcHttpClient.USER_AGENT_PROPERTY, userAgent); L162: } L163: L164: // web auth L165: ...github.com/codelibs/fess/src/main/java/org/code...Sat Oct 12 01:54:15 UTC 2024 18.5K bytes -
PathMapTests.java
createTestParam(int id) { L62: final Map<String, Object> requestBody = new HashMap<>(); L63: final String keyProp = NAME_PREFIX + id; L64: requestBody.put(KEY_PROPERTY, keyProp); L65: requestBody.put("replacement", "replacement" + id); L66: requestBody.put("process_type", "C"); L67: requestBody.put("sort_order", id); L68: return requestBody; L69: } L70: L71: @Override L72: protected Map<String, Object> getUpdateMap() { L73: final Map<String,...github.com/codelibs/fess/src/test/java/org/code...Thu Feb 22 01:37:57 UTC 2024 2.4K bytes -
ApiAdminStatsAction.java
/api/admin/stats L56: @Execute L57: public JsonResponse<ApiResult> index() { L58: final HashMap<String, Object> stats = new HashMap<>(); L59: stats.put("jvm", getJvmObj()); L60: stats.put("os", getOsObj()); L61: stats.put("process", getProcessObj()); L62: stats.put("engine", getEngineObj()); L63: stats.put("fs", getFsObj()); L64: return asJson(new ApiStatsResponse().stats(stats).status(ApiResult.Status.OK).result()); L65: } L66: L67: private FsObj[]...github.com/codelibs/fess/src/main/java/org/code...Thu Feb 22 01:37:57 UTC 2024 12.1K bytes -
SearchLogHelper.java
protected Map<String, Object> toSource(final SearchLogEvent searchLogEvent) { L455: final Map<String, Object> source = toLowerHyphen(searchLogEvent.toSource()); L456: source.put("_id", searchLogEvent.getId()); L457: // source.put("version_no", searchLogEvent.getVersionNo()); L458: source.put("event_type", searchLogEvent.getEventType()); L459: return source; L460: } L461: L462: protected Map<String, Object> toLowerHyphen(final Map<String, Object> source) { L463:...github.com/codelibs/fess/src/main/java/org/code...Mon Jul 22 02:07:37 UTC 2024 21.7K bytes -
OpenIdConnectAuthenticator.java
Object> attributes = new HashMap<>(); L163: attributes.put("accesstoken", tr.getAccessToken()); L164: attributes.put("refreshtoken", tr.getRefreshToken() == null ? "null" : tr.getRefreshToken()); L165: attributes.put("tokentype", tr.getTokenType()); L166: attributes.put("expire", tr.getExpiresInSeconds()); L167: attributes.put("jwtheader", jwtHeader); L168: attributes.put("jwtclaim", jwtClaim); L169: attributes.put("jwtsign",...github.com/codelibs/fess/src/main/java/org/code...Fri Oct 11 21:20:39 UTC 2024 12.3K bytes