Class MapperConfigurator

java.lang.Object
org.codehaus.jackson.jaxrs.MapperConfigurator

public class MapperConfigurator extends Object
Helper class used to encapsulate details of configuring an ObjectMapper instance to be used for data binding, as well as accessing it.
  • Field Details

    • _mapper

      protected ObjectMapper _mapper
      Mapper provider was constructed with if any, or that was constructed due to a call to explicitly configure mapper. If defined (explicitly or implicitly) it will be used, instead of using provider-based lookup.
    • _defaultMapper

      protected ObjectMapper _defaultMapper
      If no mapper was specified when constructed, and no configuration calls are made, a default mapper is constructed. The difference between default mapper and regular one is that default mapper is only used if no mapper is found via provider lookup.
    • _defaultAnnotationsToUse

      protected Annotations[] _defaultAnnotationsToUse
      Annotations set to use by default; overridden by explicit call to setAnnotationsToUse(org.codehaus.jackson.jaxrs.Annotations[])
    • _jaxbIntrospectorClass

      protected Class<? extends AnnotationIntrospector> _jaxbIntrospectorClass
      To support optional dependency to Jackson-XC module (needed if and when JAXB annotations are used for configuration)
  • Constructor Details

  • Method Details