public interface UploadManager
Modifier and Type | Interface and Description |
---|---|
static class |
UploadManager.UIUploadEvent |
Modifier and Type | Method and Description |
---|---|
Collection<UploadDefinition> |
getAvailableDefinitions()
Get the list of
UploadDefinitions available in this instance. |
UploadDefinition |
getByFormat(String format)
Get the
UploadDefinition for the repository format. |
org.sonatype.nexus.repository.view.Content |
handle(ImportFileConfiguration configuration)
Import a file and its attributes into a repository.
|
UploadResponse |
handle(org.sonatype.nexus.repository.Repository repository,
javax.servlet.http.HttpServletRequest request)
Adds a component to the repository at the appropriate location.
|
Collection<UploadDefinition> getAvailableDefinitions()
UploadDefinitions
available in this instance.@Nullable UploadDefinition getByFormat(String format)
UploadDefinition
for the repository format.UploadResponse handle(org.sonatype.nexus.repository.Repository repository, javax.servlet.http.HttpServletRequest request) throws IOException
repository
- the Repository
to add the component torequest
- the http request containing the multipart uploadIOException
org.sonatype.nexus.repository.view.Content handle(ImportFileConfiguration configuration) throws IOException
configuration
- IOException
Copyright © 2008–2021 Sonatype, Inc.. All rights reserved.