- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for uploadObject (0.11 sec)
-
src/main/java/org/codelibs/fess/app/web/api/admin/storage/ApiAdminStorageAction.java
import static org.codelibs.fess.app.web.admin.storage.AdminStorageAction.getObjectName; import static org.codelibs.fess.app.web.admin.storage.AdminStorageAction.uploadObject; import java.util.List; import java.util.Map; import org.apache.logging.log4j.LogManager; import org.apache.logging.log4j.Logger; import org.codelibs.core.lang.StringUtil;
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 6.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/storage/StorageClient.java
* @param inputStream the input stream of data to upload * @param size the size of the data in bytes * @param contentType the MIME type of the content */ void uploadObject(String objectName, InputStream inputStream, long size, String contentType); /** * Downloads an object from storage. * * @param objectName the name/path of the object to downloadRegistered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Sat Dec 13 02:21:17 UTC 2025 - 2.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/storage/AdminStorageAction.java
* @throws StorageException if the upload fails */ public static void uploadObject(final String objectName, final MultipartFormFile uploadFile) { try (final InputStream in = uploadFile.getInputStream(); final StorageClient client = StorageClientFactory.createClient()) { client.uploadObject(objectName, in, uploadFile.getFileSize(), "application/octet-stream"); } catch (final Exception e) {Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Sat Dec 13 02:21:17 UTC 2025 - 22.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/storage/S3StorageClient.java
this.s3Client = builder.build(); } private String getRegion(final String region) { return StringUtil.isNotBlank(region) ? region : "us-east-1"; } @Override public void uploadObject(final String objectName, final InputStream inputStream, final long size, final String contentType) { try { final PutObjectRequest request =Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Sat Dec 13 02:21:17 UTC 2025 - 10.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/storage/GcsStorageClient.java
// If no credentials path, uses default credentials (GOOGLE_APPLICATION_CREDENTIALS env var) } this.storage = builder.build().getService(); } @Override public void uploadObject(final String objectName, final InputStream inputStream, final long size, final String contentType) { try { final BlobId blobId = BlobId.of(bucket, objectName);
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Sat Dec 13 02:21:17 UTC 2025 - 10.3K bytes - Viewed (0)