Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for escapeJson (0.1 sec)

  1. src/main/java/org/codelibs/fess/api/json/SearchApiManager.java

                buf.append(",\"start_record_number\":");
                buf.append(startRecordNumber);
                buf.append(",\"end_record_number\":");
                buf.append(escapeJson(endRecordNumber));
                buf.append(",\"page_numbers\":");
                buf.append(escapeJson(pageNumbers));
                buf.append(",\"partial\":");
                buf.append(escapeJson(partial));
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 12 01:54:46 UTC 2024
    - 50.3K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/timer/MonitorTarget.java

                exception.printStackTrace(writer);
                writer.flush();
                append(buf, "exception", () -> StringEscapeUtils.escapeJson(new String(baos.toByteArray(), Constants.CHARSET_UTF_8)));
            } catch (final IOException e) {
                append(buf, "exception", () -> StringEscapeUtils.escapeJson(e.getMessage()));
            }
            return buf;
        }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 3K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/helper/ActivityHelper.java

            buf.append(",\"log.logger\":\"").append(StringEscapeUtils.escapeJson(this.getClass().getName())).append('"');
            valueMap.entrySet().stream().forEach(e -> buf.append(",\"labels.").append(e.getKey()).append("\":\"")
                    .append(StringEscapeUtils.escapeJson(e.getValue())).append('"'));
            buf.append('}');
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/helper/NotificationHelper.java

            buf.append("{\"text\":\"");
            buf.append(LF);
            buf.append(StringEscapeUtils.escapeJson(discloser.getSavedSubject().orElse(StringUtil.EMPTY).trim()));
            buf.append(LF).append("```");
            buf.append(LF).append(StringEscapeUtils.escapeJson(discloser.getSavedPlainText().orElse(StringUtil.EMPTY).trim()));
            buf.append(LF).append("```\"}");
            return buf.toString();
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/timer/SystemMonitorTarget.java

            buf.append("\"pools\":{");
            buf.append(bufferPools.stream().map(p -> {
                final StringBuilder b = new StringBuilder();
                b.append('"').append(StringEscapeUtils.escapeJson(p.getName())).append("\":{");
                append(b, "count", () -> p.getCount()).append(',');
                append(b, "used", () -> p.getUsed().getBytes()).append(',');
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/timer/HotThreadMonitorTarget.java

                final String hotThreads = response.getNodesMap().entrySet().stream().map(e -> {
                    final StringBuilder tempBuf = new StringBuilder();
                    append(tempBuf, StringEscapeUtils.escapeJson(e.getKey()), () -> StringEscapeUtils.escapeJson(e.getValue().getHotThreads()));
                    return tempBuf.toString();
                }).collect(Collectors.joining(","));
                buf.append(hotThreads).append(',');
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/app/web/admin/backup/AdminBackupAction.java

                buf.append('"').append(StringEscapeUtils.escapeJson(format)).append('"');
            } else if (value instanceof String[]) {
                final String json = Arrays.stream((String[]) value).map(s -> "\"" + StringEscapeUtils.escapeJson(s) + "\"")
                        .collect(Collectors.joining(","));
                buf.append('[').append(json).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)
  8. src/main/java/org/codelibs/fess/app/web/api/admin/backup/ApiAdminBackupAction.java

                                try {
                                    writer.write("{\"index\":{\"_index\":\"" + index + "\",\"_id\":\""
                                            + StringEscapeUtils.escapeJson(hit.getId()) + "\"}}\n");
                                    writer.write(hit.getSourceAsString());
                                    writer.write("\n");
                                } catch (final IOException e) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 12 01:54:15 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/app/web/admin/maintenance/AdminMaintenanceAction.java

            try {
                zos.putNextEntry(entry);
                SearchEngineUtil.scroll(index, hit -> {
                    final String data = "{\"index\":{\"_index\":\"" + index + "\",\"_id\":\"" + StringEscapeUtils.escapeJson(hit.getId())
                            + "\"}}\n" + hit.getSourceAsString() + "\n";
                    try {
                        zos.write(data.getBytes(Constants.CHARSET_UTF_8));
                    } catch (final IOException e) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 14K bytes
    - Viewed (0)
Back to top