JsonCoreIODelegate
to forward the JAX-RS marshalling to nuxeo-core-io.@Deprecated @Provider public class LogEntryWriter extends EntityWriter<LogEntry>
Modifier and Type | Field and Description |
---|---|
static String |
ENTITY_TYPE
Deprecated.
|
factory
Constructor and Description |
---|
LogEntryWriter()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
protected String |
getEntityType()
Deprecated.
get the Entity type of the current entity type.
|
protected void |
writeEntityBody(com.fasterxml.jackson.core.JsonGenerator jg,
LogEntry logEntry)
Deprecated.
Write the body of the entity.
|
protected void |
writeExtendedInfo(com.fasterxml.jackson.core.JsonGenerator jg,
String key,
Serializable value)
Deprecated.
|
protected void |
writeExtendedInfos(com.fasterxml.jackson.core.JsonGenerator jg,
LogEntry logEntry)
Deprecated.
|
getSize, isWriteable, writeEntity, writeTo
public static final String ENTITY_TYPE
public LogEntryWriter()
protected String getEntityType()
EntityWriter
getEntityType
in class EntityWriter<LogEntry>
protected void writeEntityBody(com.fasterxml.jackson.core.JsonGenerator jg, LogEntry logEntry) throws IOException
EntityWriter
writeEntityBody
in class EntityWriter<LogEntry>
IOException
protected void writeExtendedInfos(com.fasterxml.jackson.core.JsonGenerator jg, LogEntry logEntry) throws IOException
IOException
protected void writeExtendedInfo(com.fasterxml.jackson.core.JsonGenerator jg, String key, Serializable value) throws IOException
IOException
Copyright © 2018 Nuxeo. All rights reserved.