org.jboss.resteasy.plugins.providers.jaxb.JAXBXmlRootElementProvider Maven / Gradle / Ivy
package org.jboss.resteasy.plugins.providers.jaxb;
import org.jboss.resteasy.annotations.providers.jaxb.DoNotUseJAXBProvider;
import org.jboss.resteasy.util.FindAnnotation;
import javax.ws.rs.Consumes;
import javax.ws.rs.Produces;
import javax.ws.rs.core.MediaType;
import javax.ws.rs.ext.Provider;
import javax.xml.bind.annotation.XmlRootElement;
import java.lang.annotation.Annotation;
import java.lang.reflect.Type;
/**
* A JAXBXmlRootElementProvider.
*
* @author Ryan J. McDonough
* @version $Revision:$
*/
@Provider
@Produces({"application/*+xml", "text/*+xml"})
@Consumes({"application/*+xml", "text/*+xml"})
public class JAXBXmlRootElementProvider extends AbstractJAXBProvider
© 2015 - 2025 Weber Informatics LLC | Privacy Policy