Package org.bremersee.minio
Class MinioTemplate
java.lang.Object
org.bremersee.minio.MinioTemplate
- All Implemented Interfaces:
MinioOperations
The minio template.
- Author:
- Christian Bremer
-
Constructor Summary
ConstructorsConstructorDescriptionMinioTemplate(io.minio.MinioClient client) Instantiates a new minio template. -
Method Summary
Modifier and TypeMethodDescriptioncopy()Copies minio template.copy(org.springframework.util.ErrorHandler errorHandler) Copies minio template.<T> Texecute(MinioClientCallback<T> callback) Execute minio callback.voidsetErrorHandler(org.springframework.util.ErrorHandler errorHandler) Sets error handler.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.bremersee.minio.MinioOperations
bucketExists, composeObject, copyObject, deleteBucketCors, deleteBucketEncryption, deleteBucketLifecycle, deleteBucketNotification, deleteBucketPolicy, deleteBucketReplication, deleteBucketTags, deleteObjectLockConfiguration, deleteObjectTags, disableObjectLegalHold, downloadObject, enableObjectLegalHold, getBucketCors, getBucketEncryption, getBucketLifecycle, getBucketNotification, getBucketPolicy, getBucketReplication, getBucketTags, getBucketVersioning, getObject, getObjectAcl, getObjectAttributes, getObjectLockConfiguration, getObjectRetention, getObjectTags, getPresignedObjectUrl, getPresignedPostFormData, isObjectLegalHoldEnabled, listBuckets, listBuckets, listenBucketNotification, listObjects, makeBucket, objectExists, promptObject, putObject, putObjectFanOut, removeBucket, removeObject, removeObjects, restoreObject, selectObjectContent, setBucketCors, setBucketEncryption, setBucketLifecycle, setBucketNotification, setBucketPolicy, setBucketReplication, setBucketTags, setBucketVersioning, setObjectLockConfiguration, setObjectRetention, setObjectTags, statObject, uploadObject
-
Constructor Details
-
MinioTemplate
public MinioTemplate(io.minio.MinioClient client) Instantiates a new minio template.- Parameters:
client- the client
-
-
Method Details
-
setErrorHandler
public void setErrorHandler(org.springframework.util.ErrorHandler errorHandler) Sets error handler.- Parameters:
errorHandler- the error handler
-
copy
Copies minio template.- Returns:
- the minio template
-
copy
Copies minio template.- Parameters:
errorHandler- the error handler- Returns:
- the minio template
-
execute
Description copied from interface:MinioOperationsExecute minio callback.- Specified by:
executein interfaceMinioOperations- Type Parameters:
T- the type of the result- Parameters:
callback- the callback- Returns:
- the result
-