public abstract class JacksonBaseEngine extends Object implements ContentTypeEngine
| Modifier and Type | Field and Description |
|---|---|
protected com.fasterxml.jackson.databind.ObjectMapper |
objectMapper |
| Constructor and Description |
|---|
JacksonBaseEngine() |
| Modifier and Type | Method and Description |
|---|---|
<T> T |
fromString(String content,
Class<T> classOfT) |
protected abstract com.fasterxml.jackson.databind.ObjectMapper |
getObjectMapper() |
void |
init(Application application) |
String |
toString(Object object) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetContentTypepublic void init(Application application)
init in interface ContentTypeEngineprotected abstract com.fasterxml.jackson.databind.ObjectMapper getObjectMapper()
public String toString(Object object)
toString in interface ContentTypeEnginepublic <T> T fromString(String content, Class<T> classOfT)
fromString in interface ContentTypeEngineCopyright © 2018. All Rights Reserved.