public class StreamingJsonFormat extends org.neo4j.server.rest.repr.RepresentationFormat implements StreamingFormat
| Modifier and Type | Class and Description |
|---|---|
static class |
StreamingJsonFormat.StreamingRepresentationFormat |
MEDIA_TYPE, STREAM_HEADER| Constructor and Description |
|---|
StreamingJsonFormat() |
| Modifier and Type | Method and Description |
|---|---|
protected String |
complete(org.neo4j.server.rest.repr.ListWriter serializer) |
protected String |
complete(org.neo4j.server.rest.repr.MappingWriter serializer) |
List<Object> |
readList(String input) |
Map<String,Object> |
readMap(String input,
String... requiredKeys) |
URI |
readUri(String input) |
Object |
readValue(String input) |
protected org.neo4j.server.rest.repr.ListWriter |
serializeList(String type) |
protected org.neo4j.server.rest.repr.MappingWriter |
serializeMapping(String type) |
protected String |
serializeValue(String type,
Object value) |
StreamingJsonFormat.StreamingRepresentationFormat |
writeTo(OutputStream output) |
complete, convertBoolean, convertByte, convertCharacter, convertDouble, convertFloat, convertInteger, convertLong, convertNode, convertRelationship, convertShort, convertString, convertURI, getNode, getNode, getRelationship, readParameterList, toStringpublic StreamingJsonFormat.StreamingRepresentationFormat writeTo(OutputStream output)
writeTo in interface StreamingFormatprotected org.neo4j.server.rest.repr.ListWriter serializeList(String type)
serializeList in class org.neo4j.server.rest.repr.RepresentationFormatprotected String complete(org.neo4j.server.rest.repr.ListWriter serializer)
complete in class org.neo4j.server.rest.repr.RepresentationFormatprotected org.neo4j.server.rest.repr.MappingWriter serializeMapping(String type)
serializeMapping in class org.neo4j.server.rest.repr.RepresentationFormatprotected String complete(org.neo4j.server.rest.repr.MappingWriter serializer)
complete in class org.neo4j.server.rest.repr.RepresentationFormatprotected String serializeValue(String type, Object value)
serializeValue in class org.neo4j.server.rest.repr.RepresentationFormatpublic Map<String,Object> readMap(String input, String... requiredKeys) throws org.neo4j.server.rest.repr.BadInputException
readMap in interface org.neo4j.server.rest.repr.InputFormatorg.neo4j.server.rest.repr.BadInputExceptionpublic List<Object> readList(String input)
readList in interface org.neo4j.server.rest.repr.InputFormatpublic Object readValue(String input) throws org.neo4j.server.rest.repr.BadInputException
readValue in interface org.neo4j.server.rest.repr.InputFormatorg.neo4j.server.rest.repr.BadInputExceptionCopyright © 2002-2013 The Neo4j Graph Database Project. All Rights Reserved.