Class JsonMapperConfigurator
java.lang.Object
com.fasterxml.jackson.jakarta.rs.cfg.MapperConfiguratorBase<JsonMapperConfigurator,ObjectMapper>
com.fasterxml.jackson.jakarta.rs.json.JsonMapperConfigurator
public class JsonMapperConfigurator
extends MapperConfiguratorBase<JsonMapperConfigurator,ObjectMapper>
Helper class used to encapsulate details of configuring an
ObjectMapper instance to be used for data binding, as
well as accessing it.-
Field Summary
Fields inherited from class com.fasterxml.jackson.jakarta.rs.cfg.MapperConfiguratorBase
_defaultAnnotationsToUse, _defaultMapper, _mapper, _xmlBindIntrospectorClass -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected AnnotationIntrospectorprotected AnnotationIntrospector_resolveIntrospectors(Annotations[] annotationsToUse) Method that locates, configures and returnsObjectMapperto useprotected ObjectMappermapper()Helper method that will ensure that there is a configurable non-default mapper (constructing an instance if one didn't yet exit), and return that mapper.Methods inherited from class com.fasterxml.jackson.jakarta.rs.cfg.MapperConfiguratorBase
_setAnnotations, configure, configure, configure, configure, setAnnotationsToUse, setMapper
-
Constructor Details
-
JsonMapperConfigurator
-
-
Method Details
-
getConfiguredMapper
Method that locates, configures and returnsObjectMapperto use- Specified by:
getConfiguredMapperin classMapperConfiguratorBase<JsonMapperConfigurator,ObjectMapper>
-
getDefaultMapper
- Specified by:
getDefaultMapperin classMapperConfiguratorBase<JsonMapperConfigurator,ObjectMapper>
-
mapper
Helper method that will ensure that there is a configurable non-default mapper (constructing an instance if one didn't yet exit), and return that mapper.- Specified by:
mapperin classMapperConfiguratorBase<JsonMapperConfigurator,ObjectMapper>
-
_resolveIntrospectors
- Specified by:
_resolveIntrospectorsin classMapperConfiguratorBase<JsonMapperConfigurator,ObjectMapper>
-
_resolveIntrospector
-