Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for addErrorsStorageFileNotFound (0.21 sec)

  1. src/main/java/org/codelibs/fess/app/web/api/admin/storage/ApiAdminStorageAction.java

        public StreamResponse get$download(final String id) {
            final PathInfo pi = convertToItem(id);
            if (StringUtil.isEmpty(pi.getName())) {
                throwValidationErrorApi(messages -> messages.addErrorsStorageFileNotFound(GLOBAL));
            }
            return asStream(pi.getName()).contentTypeOctetStream().stream(out -> {
                try {
                    downloadObject(getObjectName(pi.getPath(), pi.getName()), out);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/app/web/admin/storage/AdminStorageAction.java

        public ActionResponse download(final String id) {
            final PathInfo pi = convertToItem(id);
            if (StringUtil.isEmpty(pi.getName())) {
                throwValidationError(messages -> messages.addErrorsStorageFileNotFound(GLOBAL), () -> asListHtml(encodeId(pi.getPath())));
            }
            final StreamResponse response = new StreamResponse(StringUtil.EMPTY);
            final String name = pi.getName();
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 19.9K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/mylasta/action/FessMessages.java

         * message: The target file is not found in Storage.
         * </pre>
         * @param property The property name for the message. (NotNull)
         * @return this. (NotNull)
         */
        public FessMessages addErrorsStorageFileNotFound(String property) {
            assertPropertyNotNull(property);
            add(property, new UserMessage(ERRORS_storage_file_not_found));
            return this;
        }
    
        /**
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 119.9K bytes
    - Viewed (0)
Back to top