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 |
|---|---|
List<Object> |
readList(String input) |
Map<String,Object> |
readMap(String input,
String... requiredKeys) |
URI |
readUri(String input) |
Object |
readValue(String input) |
StreamingJsonFormat.StreamingRepresentationFormat |
writeTo(OutputStream output) |
public StreamingJsonFormat.StreamingRepresentationFormat writeTo(OutputStream output)
writeTo in interface StreamingFormatpublic 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–2017 The Neo4j Graph Database Project. All rights reserved.