Class JAXBContextResolver

java.lang.Object
org.apache.hadoop.hbase.rest.provider.JAXBContextResolver
All Implemented Interfaces:
org.apache.hbase.thirdparty.javax.ws.rs.ext.ContextResolver<javax.xml.bind.JAXBContext>

@Provider @Private public class JAXBContextResolver extends Object implements org.apache.hbase.thirdparty.javax.ws.rs.ext.ContextResolver<javax.xml.bind.JAXBContext>
Plumbing for hooking up Jersey's JSON entity body encoding and decoding support to JAXB. Modify how the context is created (by using e.g. a different configuration builder) to control how JSON is processed and created.
  • Field Details

  • Constructor Details

  • Method Details

    • getContext

      public javax.xml.bind.JAXBContext getContext(Class<?> objectType)
      Specified by:
      getContext in interface org.apache.hbase.thirdparty.javax.ws.rs.ext.ContextResolver<javax.xml.bind.JAXBContext>