@Provider public class LogEntryWriter extends EntityWriter<LogEntry>
| Modifier and Type | Field and Description |
|---|---|
static String |
ENTITY_TYPE |
factory| Constructor and Description |
|---|
LogEntryWriter() |
| Modifier and Type | Method and Description |
|---|---|
protected String |
getEntityType()
get the Entity type of the current entity type.
|
protected void |
writeEntityBody(org.codehaus.jackson.JsonGenerator jg,
LogEntry logEntry)
Write the body of the entity.
|
protected void |
writeExtendedInfo(org.codehaus.jackson.JsonGenerator jg,
String key,
Serializable value) |
protected void |
writeExtendedInfos(org.codehaus.jackson.JsonGenerator jg,
LogEntry logEntry) |
getSize, isWriteable, writeEntity, writeTopublic static final String ENTITY_TYPE
protected String getEntityType()
EntityWritergetEntityType in class EntityWriter<LogEntry>protected void writeEntityBody(org.codehaus.jackson.JsonGenerator jg,
LogEntry logEntry)
throws IOException,
ClientException
EntityWriterwriteEntityBody in class EntityWriter<LogEntry>IOExceptionClientExceptionprotected void writeExtendedInfos(org.codehaus.jackson.JsonGenerator jg,
LogEntry logEntry)
throws IOException,
ClientException
IOExceptionClientExceptionprotected void writeExtendedInfo(org.codehaus.jackson.JsonGenerator jg,
String key,
Serializable value)
throws IOException,
ClientException
IOExceptionClientExceptionCopyright © 2019 Nuxeo SA. All rights reserved.