@Path(value="/fileUploadService/") public interface FileUploadService
| Modifier and Type | Field and Description |
|---|---|
static String |
FILES_SESSION_KEY |
| Modifier and Type | Method and Description |
|---|---|
Boolean |
clearUploadedFiles() |
Boolean |
deleteFile(String fileName) |
List<FileMetadata> |
getSessionFileMetadatas() |
FileMetadata |
post(org.apache.cxf.jaxrs.ext.multipart.MultipartBody multipartBody) |
Boolean |
save(String repositoryId,
String groupId,
String artifactId,
String version,
String packaging,
boolean generatePom) |
static final String FILES_SESSION_KEY
@POST
@Consumes(value="multipart/form-data")
@Produces(value={"application/json","application/xml"})
FileMetadata post(org.apache.cxf.jaxrs.ext.multipart.MultipartBody multipartBody)
throws ArchivaRestServiceException
ArchivaRestServiceException@Path(value="{fileName}")
@DELETE
@Produces(value={"application/json","application/xml"})
Boolean deleteFile(@PathParam(value="fileName")
String fileName)
throws ArchivaRestServiceException
ArchivaRestServiceException@Path(value="sessionFileMetadatas")
@GET
@Produces(value={"application/json","application/xml"})
List<FileMetadata> getSessionFileMetadatas()
throws ArchivaRestServiceException
ArchivaRestServiceException@Path(value="save/{repositoryId}/{groupId}/{artifactId}/{version}/{packaging}")
@GET
@Produces(value={"application/json","application/xml"})
Boolean save(@PathParam(value="repositoryId")
String repositoryId,
@PathParam(value="groupId")
String groupId,
@PathParam(value="artifactId")
String artifactId,
@PathParam(value="version")
String version,
@PathParam(value="packaging")
String packaging,
@QueryParam(value="generatePom")
boolean generatePom)
throws ArchivaRestServiceException
ArchivaRestServiceException@Path(value="clearUploadedFiles")
@GET
@Produces(value={"application/json","application/xml"})
Boolean clearUploadedFiles()
throws ArchivaRestServiceException
ArchivaRestServiceExceptionCopyright © 2006–2023 The Apache Software Foundation. All rights reserved.