@Service public class ResourcesService extends Object
Constructor and Description |
---|
ResourcesService(ResourcesConfiguration resourcesConfiguration) |
Modifier and Type | Method and Description |
---|---|
void |
download(String tenant,
String archiveId,
OutputStream outputStream)
Writes the zip with the files of the extraction.
|
void |
purge(String tenant) |
void |
purge(String tenant,
String archiveId) |
public ResourcesService(ResourcesConfiguration resourcesConfiguration)
public void download(String tenant, String archiveId, OutputStream outputStream)
tenant
- tenantarchiveId
- archive idoutputStream
- StreamingResponseBody provided by the Controllerpublic void purge(String tenant)
Copyright © 2023. All rights reserved.