@Scope(value="prototype") @Path(value="/fcr:backup") @Deprecated public class FedoraRepositoryBackup extends AbstractResource
Modifier and Type | Field and Description |
---|---|
protected RepositoryService |
repositoryService
Deprecated.
The fcrepo repository service
|
protected HttpSession |
session
Deprecated.
|
binaryService, containerService, defaultPidMinter, eventBus, headers, nodeService, pidMinter, sessions, uriInfo, versionService
Constructor and Description |
---|
FedoraRepositoryBackup()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
runBackup(InputStream bodyStream)
Deprecated.
This method runs a repository backup.
|
toPath
@Inject protected HttpSession session
@Inject protected RepositoryService repositoryService
public FedoraRepositoryBackup()
@POST public javax.ws.rs.core.Response runBackup(InputStream bodyStream) throws IOException
bodyStream
- the input body streamIOException
- if IO exception occurredCopyright © 2013–2017 DuraSpace, Inc.. All rights reserved.