@Consumes(value={"application/xml","application/json"}) @Produces(value={"application/xml","application/json"}) @Path(value="/conversion") public class ConversionService extends Object
Constructor and Description |
---|
ConversionService() |
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
doc2pdf(List<org.apache.cxf.jaxrs.ext.multipart.Attachment> atts) |
javax.ws.rs.core.Response |
imageConvert(List<org.apache.cxf.jaxrs.ext.multipart.Attachment> atts) |
@POST @Path(value="/doc2pdf") @Consumes(value="multipart/form-data") @Produces(value="application/pdf") public javax.ws.rs.core.Response doc2pdf(List<org.apache.cxf.jaxrs.ext.multipart.Attachment> atts) throws GenericException
GenericException
@POST @Path(value="/imageConvert") @Consumes(value="multipart/form-data") @Produces(value="application/octet-stream") public javax.ws.rs.core.Response imageConvert(List<org.apache.cxf.jaxrs.ext.multipart.Attachment> atts) throws GenericException
GenericException
Copyright © 2019 Open Knowledge Management System S.L.. All rights reserved.