public class AfterburnerModule extends com.fasterxml.jackson.databind.Module implements Serializable
Modifier and Type | Field and Description |
---|---|
protected boolean |
_cfgUseOptimizedBeanDeserializer
Flag to indicate whether we should use an optimized sub-class of
BeanDeserializer or not. |
protected boolean |
_cfgUseValueClassLoader
Flag to indicate whether we will try to load generated classes using
same class loader as one that loaded class being accessed or not.
|
Constructor and Description |
---|
AfterburnerModule() |
Modifier and Type | Method and Description |
---|---|
String |
getModuleName() |
void |
setupModule(com.fasterxml.jackson.databind.Module.SetupContext context) |
AfterburnerModule |
setUseOptimizedBeanDeserializer(boolean state) |
AfterburnerModule |
setUseValueClassLoader(boolean state)
Flag to indicate whether we will try to load generated classes using
same class loader as one that loaded class being accessed or not.
|
com.fasterxml.jackson.core.Version |
version() |
protected boolean _cfgUseValueClassLoader
By default this feature is enabled.
protected boolean _cfgUseOptimizedBeanDeserializer
BeanDeserializer
or not.
Use of optimized version should further improve performance, but
it can be disabled in case it causes issues.
By default this feature is enabled.
public void setupModule(com.fasterxml.jackson.databind.Module.SetupContext context)
setupModule
in class com.fasterxml.jackson.databind.Module
public String getModuleName()
getModuleName
in class com.fasterxml.jackson.databind.Module
public com.fasterxml.jackson.core.Version version()
version
in interface com.fasterxml.jackson.core.Versioned
version
in class com.fasterxml.jackson.databind.Module
public AfterburnerModule setUseValueClassLoader(boolean state)
By default this feature is enabled.
public AfterburnerModule setUseOptimizedBeanDeserializer(boolean state)
Copyright © 2021 FasterXML. All rights reserved.