Class MinioTemplate

    • Constructor Detail

      • MinioTemplate

        public MinioTemplate​(io.minio.MinioClient client)
        Instantiates a new minio template.
        Parameters:
        client - the client
    • Method Detail

      • setErrorHandler

        public void setErrorHandler​(org.springframework.util.ErrorHandler errorHandler)
        Sets error handler.
        Parameters:
        errorHandler - the error handler
      • clone

        public MinioTemplate clone​(org.springframework.util.ErrorHandler errorHandler)
        Clone minio template.
        Parameters:
        errorHandler - the error handler
        Returns:
        the minio template
      • execute

        public <T> T execute​(MinioClientCallback<T> callback)
        Description copied from interface: MinioOperations
        Execute minio callback.
        Specified by:
        execute in interface MinioOperations
        Type Parameters:
        T - the type of the result
        Parameters:
        callback - the callback
        Returns:
        the result