Class WebDavContextResolver

java.lang.Object
org.nuxeo.ecm.webdav.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 Details

    • WebDavContextResolver

      public WebDavContextResolver()
  • Method Details

    • getContext

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