| Modifier and Type | Field and Description |
|---|---|
| private final Function | |
| private final Function | |
| private final Function | |
| private final Supplier |
| Access | Constructor and Description |
|---|---|
| public | ResponseIterable(final Supplier<REQUESTBUILDER>
a supplier which can called to produce a builder object for
requests requestBuilderSupplier, final Function<RESPONSE, String> a function which can extract the next page token from a
response produced by a list operation nextPageTokenRetrievalFunction, final Function<RequestBuilderAndToken<REQUESTBUILDER>, REQUEST> a function which can build a request for a list operation based
on a builder object and a pagination token to use requestBuilderFunction, final Function<REQUEST, RESPONSE> a function which will call a list operation with a request and
return the response of the call pageRetrievalFunction)Creates a new iterable. |
| Modifier and Type | Method and Description |
|---|---|
| public Iterator |
| nextPageTokenRetrievalFunction | back to summary |
|---|---|
| private final Function<RESPONSE, String> nextPageTokenRetrievalFunction | |
| pageRetrievalFunction | back to summary |
|---|---|
| private final Function<REQUEST, RESPONSE> pageRetrievalFunction | |
| requestBuilderFunction | back to summary |
|---|---|
| private final Function<RequestBuilderAndToken<REQUESTBUILDER>, REQUEST> requestBuilderFunction | |
| requestBuilderSupplier | back to summary |
|---|---|
| private final Supplier<REQUESTBUILDER> requestBuilderSupplier | |
| ResponseIterable | back to summary |
|---|---|
| public ResponseIterable(final Supplier<REQUESTBUILDER> requestBuilderSupplier, final Function<RESPONSE, String> nextPageTokenRetrievalFunction, final Function<RequestBuilderAndToken<REQUESTBUILDER>, REQUEST> requestBuilderFunction, final Function<REQUEST, RESPONSE> pageRetrievalFunction) Creates a new iterable.
| |
| iterator | back to summary |
|---|---|
| public Iterator Implements java. Doc from java. Returns an iterator over elements of type | |