Uses of Class
tools.jackson.databind.cfg.ConstructorDetector
Packages that use ConstructorDetector
Package
Description
Package that contains most of configuration-related classes;
exception being couple of most-commonly used configuration
things (like Feature enumerations) that are at the
main level (
tools.jackson.databind).-
Uses of ConstructorDetector in tools.jackson.databind.cfg
Fields in tools.jackson.databind.cfg declared as ConstructorDetectorModifier and TypeFieldDescriptionprotected final ConstructorDetectorBaseSettings._ctorDetectorHandler that specifies some aspects of Constructor auto-detection.static final ConstructorDetectorConstructorDetector.DEFAULTInstance used by default, which: UsesConstructorDetector.SingleArgConstructor.HEURISTICfor single-argument constructor case Does not require explicit@JsonCreatorannotations (so allows auto-detection of Visible constructors} (except for JDK types) Does not allow auto-detection of Visible constructors for so-called JDK types; that is, classes in packagesjava.*andjavax.*static final ConstructorDetectorConstructorDetector.EXPLICIT_ONLYInstance similar toDEFAULTexcept that for single-argument case uses setting ofConstructorDetector.SingleArgConstructor.REQUIRE_MODE.static final ConstructorDetectorConstructorDetector.USE_DELEGATINGInstance similar toDEFAULTexcept that for single-argument case uses setting ofConstructorDetector.SingleArgConstructor.DELEGATING.static final ConstructorDetectorConstructorDetector.USE_PROPERTIES_BASEDInstance similar toDEFAULTexcept that for single-argument case uses setting ofConstructorDetector.SingleArgConstructor.PROPERTIES.Methods in tools.jackson.databind.cfg that return ConstructorDetectorModifier and TypeMethodDescriptionBaseSettings.getConstructorDetector()final ConstructorDetectorMapperConfig.getConstructorDetector()ConstructorDetector.withAllowJDKTypeConstructors(boolean state) ConstructorDetector.withRequireAnnotation(boolean state) ConstructorDetector.withSingleArgMode(ConstructorDetector.SingleArgConstructor singleArgMode) Methods in tools.jackson.databind.cfg with parameters of type ConstructorDetectorModifier and TypeMethodDescriptionMapperBuilder.constructorDetector(ConstructorDetector cd) Method for specifyingConstructorDetectorto use for determining some aspects of creator auto-detection (specifically auto-detection of constructor, and in particular behavior with single-argument constructors).BaseSettings.with(ConstructorDetector ctorDetector) Constructors in tools.jackson.databind.cfg with parameters of type ConstructorDetectorModifierConstructorDescriptionBaseSettings(AnnotationIntrospector ai, PropertyNamingStrategy pns, EnumNamingStrategy ens, AccessorNamingStrategy.Provider accNaming, TypeResolverBuilder<?> defaultTyper, PolymorphicTypeValidator ptv, DateFormat dateFormat, HandlerInstantiator hi, Locale locale, TimeZone tz, Base64Variant defaultBase64, CacheProvider cacheProvider, JsonNodeFactory nodeFactory, ConstructorDetector ctorDetector)