- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 779 for asStream (0.05 sec)
-
src/main/java/org/codelibs/fess/app/web/admin/dict/protwords/AdminDictProtwordsAction.java
verifyTokenKeep(() -> downloadpage(form.dictId)); return protwordsService.getProtwordsFile(form.dictId) .map(file -> asStream(new File(file.getPath()).getName()).contentTypeOctetStream().stream(out -> { file.writeOut(out); })).orElseGet(() -> {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 17.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/maintenance/AdminMaintenanceAction.java
final String diagnosticId = "log" + new SimpleDateFormat("yyyyMMddHHmm").format(ComponentUtil.getSystemHelper().getCurrentTime()); return asStream(diagnosticId + ".zip").contentTypeOctetStream().stream(out -> { try (ZipOutputStream zos = new ZipOutputStream(out.stream())) { writeLogFiles(zos, diagnosticId); writeSystemProperties(zos, diagnosticId);
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Fri Oct 11 21:20:39 UTC 2024 - 14K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/badword/AdminBadwordAction.java
} @Execute @Secured({ ROLE, ROLE + VIEW }) public ActionResponse download(final DownloadForm form) { verifyToken(this::asDownloadHtml); return asStream("badword.csv").contentTypeOctetStream().stream(out -> { final Path tempFile = ComponentUtil.getSystemHelper().createTempFile("fess-badword-", ".csv").toPath(); try {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 16.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/dict/mapping/AdminDictMappingAction.java
verifyTokenKeep(() -> downloadpage(form.dictId)); return charMappingService.getCharMappingFile(form.dictId) .map(file -> asStream(new File(file.getPath()).getName()).contentTypeOctetStream().stream(out -> { file.writeOut(out); })).orElseGet(() -> { throwValidationError(messages -> messages.addErrorsFailedToDownloadMappingFile(GLOBAL),
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 19.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/elevateword/AdminElevatewordAction.java
BeanUtil.copyBeanToBean(form, entity, op -> op.exclude(Stream .concat(Stream.of(Constants.COMMON_CONVERSION_RULE), Stream.of(Constants.PERMISSIONS)).toArray(n -> new String[n]))); final PermissionHelper permissionHelper = ComponentUtil.getPermissionHelper(); entity.setPermissions(split(form.permissions, "\n").get(
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 18.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/design/AdminDesignAction.java
return null; } validate(form, messages -> {}, this::asListHtml); verifyTokenKeep(this::asListHtml); return asStream(file.getName()).contentTypeOctetStream().stream(out -> { try (FileInputStream fis = new FileInputStream(file)) { out.write(fis); } }); } @Execute @Secured({ ROLE })
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Fri Oct 11 21:11:58 UTC 2024 - 16.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/dict/stemmeroverride/AdminDictStemmeroverrideAction.java
verifyTokenKeep(() -> downloadpage(form.dictId)); return stemmerOverrideService.getStemmerOverrideFile(form.dictId) .map(file -> asStream(new File(file.getPath()).getName()).contentTypeOctetStream().stream(out -> { file.writeOut(out); })).orElseGet(() -> {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 18.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/dict/kuromoji/AdminDictKuromojiAction.java
verifyTokenKeep(() -> downloadpage(form.dictId)); return kuromojiService.getKuromojiFile(form.dictId) .map(file -> asStream(new File(file.getPath()).getName()).contentTypeOctetStream().stream(out -> { file.writeOut(out); })).orElseGet(() -> { throwValidationError(messages -> messages.addErrorsFailedToDownloadKuromojiFile(GLOBAL),
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 18.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/dict/synonym/AdminDictSynonymAction.java
verifyTokenKeep(() -> downloadpage(form.dictId)); return synonymService.getSynonymFile(form.dictId) .map(file -> asStream(new File(file.getPath()).getName()).contentTypeOctetStream().stream(out -> { file.writeOut(out); })).orElseGet(() -> { throwValidationError(messages -> messages.addErrorsFailedToDownloadSynonymFile(GLOBAL),
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 19.5K bytes - Viewed (0) -
internal/grid/stream.go
// If the request context is canceled, the stream will no longer process requests. // Requests sent cannot be used any further by the called. Requests chan<- []byte muxID uint64 ctx context.Context } // Send a payload to the remote server. func (s *Stream) Send(b []byte) error { if s.Requests == nil { return errors.New("stream does not accept requests") } select {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Jun 07 15:51:52 UTC 2024 - 3.1K bytes - Viewed (0)