public interface DossierFileResource
| Modifier and Type | Method and Description |
|---|---|
javax.ws.rs.core.Response |
container(String path)
test
|
javax.ws.rs.core.Response |
download(Integer version,
ContentDispositionMode mode,
String accept)
get dossier file contents
|
DossierContextResource |
getDossierContextResource() |
void |
publish(org.apache.cxf.jaxrs.ext.multipart.MultipartBody body)
create new dossier file version
|
void |
update(org.apache.cxf.jaxrs.ext.multipart.MultipartBody body)
add file to current dossier file version
|
@GET
@Produces(value="*/*")
javax.ws.rs.core.Response download(@QueryParam(value="version")
Integer version,
@QueryParam(value="mode") @DefaultValue(value="attachment")
ContentDispositionMode mode,
@HeaderParam(value="accept")
String accept)
@GET
@Path(value="/container")
javax.ws.rs.core.Response container(@QueryParam(value="path")
String path)
@POST @Consumes(value="multipart/form-data") @Path(value="/update") void update(org.apache.cxf.jaxrs.ext.multipart.MultipartBody body)
@POST @Consumes(value="multipart/form-data") @Path(value="/publish") void publish(org.apache.cxf.jaxrs.ext.multipart.MultipartBody body)
@Path(value="/context") DossierContextResource getDossierContextResource()
Copyright © 2021. All rights reserved.