org.jboss.resteasy.plugins.providers.multipart.XopWithMultipartRelatedReader Maven / Gradle / Ivy
package org.jboss.resteasy.plugins.providers.multipart;
import java.io.IOException;
import java.io.InputStream;
import java.lang.annotation.Annotation;
import java.lang.reflect.Type;
import jakarta.ws.rs.Consumes;
import jakarta.ws.rs.WebApplicationException;
import jakarta.ws.rs.core.Context;
import jakarta.ws.rs.core.MediaType;
import jakarta.ws.rs.core.MultivaluedMap;
import jakarta.ws.rs.ext.MessageBodyReader;
import jakarta.ws.rs.ext.Provider;
import jakarta.ws.rs.ext.Providers;
import org.jboss.resteasy.annotations.providers.multipart.XopWithMultipartRelated;
import org.jboss.resteasy.core.ResteasyContext;
import org.jboss.resteasy.plugins.providers.multipart.i18n.Messages;
import org.jboss.resteasy.spi.util.FindAnnotation;
/**
* This provider is for reading xop packages packed as multipart/related. For
* more information see {@link XopWithMultipartRelated}.
*
* @author Attila Kiraly
* @version $Revision: 1 $
*/
@Provider
@Consumes("multipart/related")
public class XopWithMultipartRelatedReader implements MessageBodyReader
© 2015 - 2025 Weber Informatics LLC | Privacy Policy