Class XmlJaxbElementProvider.App

  • All Implemented Interfaces:
    javax.ws.rs.ext.MessageBodyReader<javax.xml.bind.JAXBElement<?>>, javax.ws.rs.ext.MessageBodyWriter<javax.xml.bind.JAXBElement<?>>
    Enclosing class:
    XmlJaxbElementProvider

    @Produces("application/xml")
    @Consumes("application/xml")
    @Singleton
    public static final class XmlJaxbElementProvider.App
    extends XmlJaxbElementProvider
    Provider for marshalling/un-marshalling JAXB elements from/to entities of application/xml media type.
    • Constructor Detail

      • App

        public App​(@Context
                   javax.inject.Provider<javax.xml.parsers.SAXParserFactory> spf,
                   @Context
                   javax.ws.rs.ext.Providers ps)