JsonCoreIODelegate
to forward the JAX-RS marshalling to nuxeo-core-io.@Deprecated @Provider public class LogEntryListWriter extends EntityListWriter<LogEntry>
factory
Constructor and Description |
---|
LogEntryListWriter()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
protected String |
getEntityType()
Deprecated.
Returns the entity-type value of the list (ie: users, groups....)
|
boolean |
isWriteable(Class<?> arg0,
Type arg1,
Annotation[] arg2,
javax.ws.rs.core.MediaType arg3)
Deprecated.
|
protected void |
writeItem(org.codehaus.jackson.JsonGenerator jg,
LogEntry item)
Deprecated.
Writes the item in a JsonGenerator.
|
writeEntityBody, writeHeader, writePaginableHeader
getSize, writeEntity, writeTo
public LogEntryListWriter()
protected String getEntityType()
EntityListWriter
getEntityType
in class EntityListWriter<LogEntry>
public boolean isWriteable(Class<?> arg0, Type arg1, Annotation[] arg2, javax.ws.rs.core.MediaType arg3)
isWriteable
in interface javax.ws.rs.ext.MessageBodyWriter<List<LogEntry>>
isWriteable
in class EntityListWriter<LogEntry>
protected void writeItem(org.codehaus.jackson.JsonGenerator jg, LogEntry item) throws IOException
EntityListWriter
writeItem
in class EntityListWriter<LogEntry>
IOException
Copyright © 2015 Nuxeo SA. All rights reserved.