M - The Response modelpublic interface ResponseMapper<M>
| Modifier and Type | Method and Description |
|---|---|
<T> Iterable<T> |
map(Class<T> type,
Response<M> response)
Maps the data representation in the given response onto instances of
T. |
<T> Iterable<T> map(Class<T> type, Response<M> response)
T.T - type of the resulttype - The Class defining the type to which each entities in the response should be mappedresponse - The Response object containing the data to map onto the objectsIterable of type T containing relevant data extracted from the responseCopyright © 2015–2020 Neo Technology, Inc.. All rights reserved.