Class WebDavContextResolver

  • All Implemented Interfaces:
    javax.ws.rs.ext.ContextResolver<javax.xml.bind.JAXBContext>

    @Provider
    public class WebDavContextResolver
    extends Object
    implements javax.ws.rs.ext.ContextResolver<javax.xml.bind.JAXBContext>
    Injects the JAXBContext needed to parse our webdav XML payloads.
    • Constructor Detail

      • WebDavContextResolver

        public WebDavContextResolver()
    • Method Detail

      • getContext

        public javax.xml.bind.JAXBContext getContext​(Class<?> type)
        Specified by:
        getContext in interface javax.ws.rs.ext.ContextResolver<javax.xml.bind.JAXBContext>