Top Description Fields Constructors Methods
com.fasterxml.jackson.jakarta.rs.cbor

public Class CBORMapperConfigurator

extends MapperConfiguratorBase<CBORMapperConfigurator, ObjectMapper>
Class Inheritance
Imports
java.util.*, java.util.concurrent.locks.ReentrantLock, com.fasterxml.jackson.databind.*, com.fasterxml.jackson.databind.introspect.JacksonAnnotationIntrospector, com.fasterxml.jackson.dataformat.cbor.CBORFactory, com.fasterxml.jackson.jakarta.rs.cfg.Annotations, .MapperConfiguratorBase, com.fasterxml.jackson.module.jakarta.xmlbind.JakartaXmlBindAnnotationIntrospector

Helper class used to encapsulate details of configuring an ObjectMapper instance to be used for data binding, as well as accessing it.

Field Summary

Modifier and TypeField and Description
private final ReentrantLock
Inherited from com.fasterxml.jackson.jakarta.rs.cfg.MapperConfiguratorBase:
_defaultAnnotationsToUse_defaultMapper_mapper_xmlBindIntrospectorClass

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
protected AnnotationIntrospector
protected AnnotationIntrospector
public ObjectMapper
getConfiguredMapper()

Implements abstract com.fasterxml.jackson.jakarta.rs.cfg.MapperConfiguratorBase.getConfiguredMapper.

Method that locates, configures and returns ObjectMapper to use

public ObjectMapper
protected ObjectMapper
mapper()

Implements abstract com.fasterxml.jackson.jakarta.rs.cfg.MapperConfiguratorBase.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.

Inherited from com.fasterxml.jackson.jakarta.rs.cfg.MapperConfiguratorBase:
_setAnnotationsconfigureconfigureconfigureconfiguresetAnnotationsToUsesetMapper

Field Detail

_lockback to summary
private final ReentrantLock _lock

Constructor Detail

CBORMapperConfiguratorback to summary
public CBORMapperConfigurator(ObjectMapper mapper, Annotations[] defAnnotations)

Method Detail

_resolveIntrospectorback to summary
protected AnnotationIntrospector _resolveIntrospector(Annotations ann)
_resolveIntrospectorsback to summary
protected AnnotationIntrospector _resolveIntrospectors(Annotations[] annotationsToUse)

Implements abstract com.fasterxml.jackson.jakarta.rs.cfg.MapperConfiguratorBase._resolveIntrospectors.

Annotations
@Override
getConfiguredMapperback to summary
public ObjectMapper getConfiguredMapper()

Implements abstract com.fasterxml.jackson.jakarta.rs.cfg.MapperConfiguratorBase.getConfiguredMapper.

Method that locates, configures and returns ObjectMapper to use

Annotations
@Override
getDefaultMapperback to summary
public ObjectMapper getDefaultMapper()

Implements abstract com.fasterxml.jackson.jakarta.rs.cfg.MapperConfiguratorBase.getDefaultMapper.

Annotations
@Override
mapperback to summary
protected ObjectMapper mapper()

Implements abstract com.fasterxml.jackson.jakarta.rs.cfg.MapperConfiguratorBase.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.

Annotations
@Override