@Provider public class TaskWriter extends EntityWriter<Task>
Modifier and Type | Field and Description |
---|---|
static String |
ENTITY_TYPE |
Constructor and Description |
---|
TaskWriter() |
Modifier and Type | Method and Description |
---|---|
static void |
writeTask(org.codehaus.jackson.JsonGenerator jg,
Task item,
javax.servlet.http.HttpServletRequest request,
javax.ws.rs.core.UriInfo uriInfo) |
getSize, isWriteable, writeEntity, writeTo
public static final String ENTITY_TYPE
public static void writeTask(org.codehaus.jackson.JsonGenerator jg, Task item, javax.servlet.http.HttpServletRequest request, javax.ws.rs.core.UriInfo uriInfo) throws org.codehaus.jackson.JsonGenerationException, IOException
org.codehaus.jackson.JsonGenerationException
IOException
Copyright © 2015 Nuxeo SA. All rights reserved.