public class ObjectMapperConfig extends Object
| Constructor and Description |
|---|
ObjectMapperConfig()
Default object mapper configuration that uses no explicit object mapper.
|
ObjectMapperConfig(ObjectMapper defaultObjectMapper)
Creates an object mapper configuration that uses the specified object mapper as default.
|
ObjectMapperConfig(ObjectMapperType defaultObjectMapperType)
Creates an object mapper configuration that uses the specified object mapper as default.
|
public ObjectMapperConfig()
public ObjectMapperConfig(ObjectMapperType defaultObjectMapperType)
defaultObjectMapperType - The object mapper to use. If null then classpath scanning will be used.public ObjectMapperConfig(ObjectMapper defaultObjectMapper)
defaultObjectMapper - The object mapper to use. If null then classpath scanning will be used.public ObjectMapperType defaultObjectMapperType()
public boolean hasDefaultObjectMapperType()
public ObjectMapperConfig defaultObjectMapperType(ObjectMapperType defaultObjectMapperType)
defaultObjectMapperType - The object mapper to use. If null then classpath scanning will be used.public ObjectMapper defaultObjectMapper()
public boolean hasDefaultObjectMapper()
public ObjectMapperConfig defaultObjectMapper(ObjectMapper defaultObjectMapper)
defaultObjectMapper - The object mapper to use. If null then classpath scanning will be used.public GsonObjectMapperFactory gsonObjectMapperFactory()
public ObjectMapperConfig gsonObjectMapperFactory(GsonObjectMapperFactory gsonObjectMapperFactory)
gsonObjectMapperFactory - The object mapper factorypublic Jackson1ObjectMapperFactory jackson1ObjectMapperFactory()
public ObjectMapperConfig jackson1ObjectMapperFactory(Jackson1ObjectMapperFactory jackson1ObjectMapperFactory)
jackson1ObjectMapperFactory - The object mapper factorypublic Jackson2ObjectMapperFactory jackson2ObjectMapperFactory()
public ObjectMapperConfig jackson2ObjectMapperFactory(Jackson2ObjectMapperFactory jackson2ObjectMapperFactory)
jackson2ObjectMapperFactory - The object mapper factorypublic JAXBObjectMapperFactory jaxbObjectMapperFactory()
public ObjectMapperConfig jaxbObjectMapperFactory(JAXBObjectMapperFactory jaxbObjectMapperFactory)
jaxbObjectMapperFactory - The object mapper factorypublic static ObjectMapperConfig objectMapperConfig()
public ObjectMapperConfig and()
Copyright © 2010–2014. All rights reserved.