@Provider public class DocumentRouteWriter extends EntityWriter<DocumentRoute>
| Modifier and Type | Field and Description |
|---|---|
static String |
ENTITY_TYPE |
factory| Constructor and Description |
|---|
DocumentRouteWriter() |
| Modifier and Type | Method and Description |
|---|---|
protected String |
getEntityType()
get the Entity type of the current entity type.
|
static void |
writeDocumentRoute(org.codehaus.jackson.JsonGenerator jg,
DocumentRoute item,
javax.servlet.http.HttpServletRequest request,
javax.ws.rs.core.UriInfo uriInfo) |
protected void |
writeEntityBody(org.codehaus.jackson.JsonGenerator jg,
DocumentRoute item)
Write the body of the entity.
|
getSize, isWriteable, writeEntity, writeTopublic static final String ENTITY_TYPE
public DocumentRouteWriter()
protected void writeEntityBody(org.codehaus.jackson.JsonGenerator jg, DocumentRoute item) throws IOException
EntityWriterwriteEntityBody in class EntityWriter<DocumentRoute>IOExceptionpublic static void writeDocumentRoute(org.codehaus.jackson.JsonGenerator jg, DocumentRoute item, javax.servlet.http.HttpServletRequest request, javax.ws.rs.core.UriInfo uriInfo) throws org.codehaus.jackson.JsonGenerationException, IOException
org.codehaus.jackson.JsonGenerationExceptionIOExceptionprotected String getEntityType()
EntityWritergetEntityType in class EntityWriter<DocumentRoute>Copyright © 2015 Nuxeo SA. All rights reserved.