public static class StreamingJsonFormat.StreamingRepresentationFormat
extends org.neo4j.server.rest.repr.RepresentationFormat
| Constructor and Description |
|---|
StreamingRepresentationFormat(org.codehaus.jackson.JsonGenerator g,
org.neo4j.server.rest.repr.InputFormat inputFormat) |
| Modifier and Type | Method and Description |
|---|---|
void |
complete() |
List<Object> |
readList(String input) |
Map<String,Object> |
readMap(String input,
String... requiredKeys) |
URI |
readUri(String input) |
Object |
readValue(String input) |
org.neo4j.server.rest.repr.MappingWriter |
serializeMapping(String type) |
StreamingJsonFormat.StreamingRepresentationFormat |
usePrettyPrinter() |
public StreamingRepresentationFormat(org.codehaus.jackson.JsonGenerator g,
org.neo4j.server.rest.repr.InputFormat inputFormat)
public StreamingJsonFormat.StreamingRepresentationFormat usePrettyPrinter()
public org.neo4j.server.rest.repr.MappingWriter serializeMapping(String type)
serializeMapping in class org.neo4j.server.rest.repr.RepresentationFormatpublic Object readValue(String input) throws org.neo4j.server.rest.repr.BadInputException
org.neo4j.server.rest.repr.BadInputExceptionpublic Map<String,Object> readMap(String input, String... requiredKeys) throws org.neo4j.server.rest.repr.BadInputException
org.neo4j.server.rest.repr.BadInputExceptionpublic List<Object> readList(String input) throws org.neo4j.server.rest.repr.BadInputException
org.neo4j.server.rest.repr.BadInputExceptionpublic URI readUri(String input) throws org.neo4j.server.rest.repr.BadInputException
org.neo4j.server.rest.repr.BadInputExceptionpublic void complete()
complete in class org.neo4j.server.rest.repr.RepresentationFormatCopyright © 2002–2017 The Neo4j Graph Database Project. All rights reserved.