public class DefaultFormat
extends org.neo4j.server.rest.repr.RepresentationFormat
| Constructor and Description |
|---|
DefaultFormat(org.neo4j.server.rest.repr.RepresentationFormat inner,
Collection<javax.ws.rs.core.MediaType> supported,
javax.ws.rs.core.MediaType... requested) |
| 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) |
static <T> Map<String,T> |
validateKeys(Map<String,T> map,
String... requiredKeys) |
public DefaultFormat(org.neo4j.server.rest.repr.RepresentationFormat inner,
Collection<javax.ws.rs.core.MediaType> supported,
javax.ws.rs.core.MediaType... requested)
public 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.BadInputExceptionCopyright © 2002–2017 The Neo4j Graph Database Project. All rights reserved.