i use org.apache.cxf.jaxrs.ext.multipart.Attachment and javax.ws.rs.core.MultivaluedMap<String, String> and it works fine
On 03/11/2021 19:10, naciu wrote:
https://www.benchresources.net/apache-cxf-jax-rs-restful-web-service-for-uploadingdownloading-text-file-java-client/ i read this example. But this line give me error: MultivaluedMap<String, String> multivaluedMap = attachment.getHeaders(); into my ide lament the method attachment.getHeaders(); not exists from the class Attachment. please how resolve?
