org.ektorp.impl
Class StdObjectMapperFactory
java.lang.Object
org.ektorp.impl.StdObjectMapperFactory
- All Implemented Interfaces:
- ObjectMapperFactory
public class StdObjectMapperFactory
- extends Object
- implements ObjectMapperFactory
- Author:
- henrik lundgren
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StdObjectMapperFactory
public StdObjectMapperFactory()
createObjectMapper
public com.fasterxml.jackson.databind.ObjectMapper createObjectMapper()
- Specified by:
createObjectMapper in interface ObjectMapperFactory
- Returns:
createObjectMapper
public com.fasterxml.jackson.databind.ObjectMapper createObjectMapper(CouchDbConnector connector)
- Specified by:
createObjectMapper in interface ObjectMapperFactory
- Returns:
setObjectMapper
public void setObjectMapper(com.fasterxml.jackson.databind.ObjectMapper om)
setWriteDatesAsTimestamps
public void setWriteDatesAsTimestamps(boolean b)
applyDefaultConfiguration
protected void applyDefaultConfiguration(com.fasterxml.jackson.databind.ObjectMapper om)
- This protected method can be overridden in order to change the configuration.
Copyright © 2017. All rights reserved.