public interface ResponseReader
| Modifier and Type | Interface and Description |
|---|---|
static interface |
ResponseReader.ConditionalTypeReader<T> |
static interface |
ResponseReader.ListItemReader |
static interface |
ResponseReader.ListReader<T> |
static interface |
ResponseReader.ObjectReader<T> |
| Modifier and Type | Method and Description |
|---|---|
Boolean |
readBoolean(ResponseField field) |
<T> T |
readConditional(ResponseField field,
ResponseReader.ConditionalTypeReader<T> conditionalTypeReader) |
<T> T |
readCustomType(ResponseField.CustomTypeField field) |
Double |
readDouble(ResponseField field) |
Integer |
readInt(ResponseField field) |
<T> List<T> |
readList(ResponseField field,
ResponseReader.ListReader<T> listReader) |
Long |
readLong(ResponseField field) |
<T> T |
readObject(ResponseField field,
ResponseReader.ObjectReader<T> objectReader) |
String |
readString(ResponseField field) |
String readString(ResponseField field)
Integer readInt(ResponseField field)
Long readLong(ResponseField field)
Double readDouble(ResponseField field)
Boolean readBoolean(ResponseField field)
<T> T readObject(ResponseField field, ResponseReader.ObjectReader<T> objectReader)
<T> List<T> readList(ResponseField field, ResponseReader.ListReader<T> listReader)
<T> T readCustomType(ResponseField.CustomTypeField field)
<T> T readConditional(ResponseField field, ResponseReader.ConditionalTypeReader<T> conditionalTypeReader)
Copyright © 2018. All rights reserved.