@Provider public class GraphRouteWriter extends EntityWriter<JsonGraphRoute>
Modifier and Type | Field and Description |
---|---|
protected javax.ws.rs.core.HttpHeaders |
headers |
protected javax.servlet.http.HttpServletRequest |
request |
Constructor and Description |
---|
GraphRouteWriter() |
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,
JsonGraphRoute item)
Write the body of the entity.
|
getSize, isWriteable, writeEntity, writeTo
@Context protected javax.ws.rs.core.HttpHeaders headers
@Context protected javax.servlet.http.HttpServletRequest request
public GraphRouteWriter()
protected String getEntityType()
EntityWriter
getEntityType
in class EntityWriter<JsonGraphRoute>
protected void writeEntityBody(org.codehaus.jackson.JsonGenerator jg, JsonGraphRoute item) throws IOException
EntityWriter
writeEntityBody
in class EntityWriter<JsonGraphRoute>
IOException
Copyright © 2015 Nuxeo SA. All rights reserved.