public class DefaultFormat extends RepresentationFormat
| Constructor and Description |
|---|
DefaultFormat(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) |
complete, readParameterList, toStringpublic DefaultFormat(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 BadInputException
BadInputExceptionpublic List<Object> readList(String input) throws BadInputException
BadInputExceptionpublic URI readUri(String input) throws BadInputException
BadInputExceptionpublic static <T> Map<String,T> validateKeys(Map<String,T> map, String... requiredKeys) throws BadInputException
BadInputExceptionCopyright © 2002–2013 The Neo4j Graph Database Project. All rights reserved.