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 |
|---|---|
java.lang.Boolean |
readBoolean(ResponseField field) |
<T> T |
readConditional(ResponseField.ConditionalTypeField field,
ResponseReader.ConditionalTypeReader<T> conditionalTypeReader) |
<T> T |
readCustomType(ResponseField.CustomTypeField field) |
java.lang.Double |
readDouble(ResponseField field) |
java.lang.Integer |
readInt(ResponseField field) |
<T> java.util.List<T> |
readList(ResponseField field,
ResponseReader.ListReader listReader) |
java.lang.Long |
readLong(ResponseField field) |
<T> T |
readObject(ResponseField field,
ResponseReader.ObjectReader<T> objectReader) |
java.lang.String |
readString(ResponseField field) |
java.lang.String readString(ResponseField field)
java.lang.Integer readInt(ResponseField field)
java.lang.Long readLong(ResponseField field)
java.lang.Double readDouble(ResponseField field)
java.lang.Boolean readBoolean(ResponseField field)
<T> T readObject(ResponseField field, ResponseReader.ObjectReader<T> objectReader)
<T> java.util.List<T> readList(ResponseField field, ResponseReader.ListReader listReader)
<T> T readCustomType(ResponseField.CustomTypeField field)
<T> T readConditional(ResponseField.ConditionalTypeField field, ResponseReader.ConditionalTypeReader<T> conditionalTypeReader)