@Provider public class ConversionStatusWithResultWriter extends EntityWriter<ConversionStatusWithResult>
Modifier and Type | Field and Description |
---|---|
static String |
ENTITY_TYPE |
factory
Constructor and Description |
---|
ConversionStatusWithResultWriter() |
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,
ConversionStatusWithResult conversionStatusWithResult)
Write the body of the entity.
|
getSize, isWriteable, writeEntity, writeTo
public static final String ENTITY_TYPE
public ConversionStatusWithResultWriter()
protected void writeEntityBody(org.codehaus.jackson.JsonGenerator jg, ConversionStatusWithResult conversionStatusWithResult) throws IOException
EntityWriter
writeEntityBody
in class EntityWriter<ConversionStatusWithResult>
IOException
protected String getEntityType()
EntityWriter
getEntityType
in class EntityWriter<ConversionStatusWithResult>
Copyright © 2016 Nuxeo SA. All rights reserved.