public abstract static class ArgsToPagedIterable.FromCaller<T,I extends ArgsToPagedIterable.FromCaller<T,I>> extends ArgsToPagedIterable<T,I>
This class provides a way to propagate the arguments passed to the caller
of the method, so they can be used to fetch the next page of the result
set. For example, in the call api.getUserApi(region).list()
,
the caller arg0 is the value of region
, and the callee is
UserApi.list()
function in openstack-glance for a usage example.
ArgsToPagedIterable.FromCaller<T,I extends ArgsToPagedIterable.FromCaller<T,I>>
request
Constructor and Description |
---|
ArgsToPagedIterable.FromCaller() |
Modifier and Type | Method and Description |
---|---|
protected List<Object> |
getArgs(GeneratedHttpRequest request) |
apply, markerToNextForArgs, setContext
protected List<Object> getArgs(GeneratedHttpRequest request)
getArgs
in class ArgsToPagedIterable<T,I extends ArgsToPagedIterable.FromCaller<T,I>>
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.