Class XmlRootObjectJaxbProvider

    • Method Detail

      • getStoredJaxbContext

        protected jakarta.xml.bind.JAXBContext getStoredJaxbContext​(Class type)
                                                             throws jakarta.xml.bind.JAXBException
        Description copied from class: AbstractJaxbProvider
        Retrieve cached JAXB context capable of handling the given Java type.
        Overrides:
        getStoredJaxbContext in class AbstractJaxbProvider<Object>
        Parameters:
        type - Java type .
        Returns:
        JAXB context associated with the Java type.
        Throws:
        jakarta.xml.bind.JAXBException - in case the JAXB context retrieval fails.
      • isReadable

        public boolean isReadable​(Class<?> type,
                                  Type genericType,
                                  Annotation[] annotations,
                                  jakarta.ws.rs.core.MediaType mediaType)
      • isWriteable

        public boolean isWriteable​(Class<?> arg0,
                                   Type arg1,
                                   Annotation[] arg2,
                                   jakarta.ws.rs.core.MediaType mediaType)