E - The type the iterator will return.T - The AbstractPaginationRequest that the command will invokeF - The AbstractPaginationResponse that will be returned by the AbstractPaginationRequestpublic interface PaginatingCommand<E,T extends AbstractPaginationRequest,F extends AbstractPaginationResponse>
| Modifier and Type | Method and Description |
|---|---|
T |
createRequest()
Creates an initial request.
|
java.util.List<E> |
getResponseContents(F response)
Parses the response into the correct payload to be consumed by the iterator
|
F |
invokeCommand(T paginationRequest)
Invokes the request and returns the response
|