public class JsonRepresentation extends BaseOutputRepresentation
ObjectNode to JSON.| Constructor and Description |
|---|
JsonRepresentation(Object object) |
JsonRepresentation(ObjectNode objectNode) |
JsonRepresentation(ObjectNode objectNode,
ObjectMapper mapper) |
JsonRepresentation(Object object,
ObjectMapper mapper) |
| Modifier and Type | Method and Description |
|---|---|
void |
write(OutputStream outputStream) |
getStreamgetText, isAvailable, isTransient, setAvailable, setTransientgetCharacterSet, getEncodings, getExpirationDate, getIdentifier, getLanguages, getMediaType, getModificationDate, getSize, getTag, setCharacterSet, setExpirationDate, setIdentifier, setIdentifier, setMediaType, setModificationDate, setSize, setTagpublic JsonRepresentation(ObjectNode objectNode)
public JsonRepresentation(ObjectNode objectNode, ObjectMapper mapper)
public JsonRepresentation(Object object)
public JsonRepresentation(Object object, ObjectMapper mapper)
public void write(OutputStream outputStream) throws IOException
write in class org.restlet.resource.OutputRepresentationIOException