@Beta public abstract class Arg0ToPagedIterable<T,I extends Arg0ToPagedIterable<T,I>> extends Object implements com.google.common.base.Function<IterableWithMarker<T>,PagedIterable<T>>, InvocationContext<I>
arg0
during an advance in a PagedIterable
. For example, in the call
api.getUserApi().listPathPrefix("/users")
, the arg0 is the value "/users"
.Modifier and Type | Class and Description |
---|---|
static class |
Arg0ToPagedIterable.FromCaller<T,I extends Arg0ToPagedIterable.FromCaller<T,I>>
Used to propagate caller
arg0 to a callee during an advance in a PagedIterable . |
Constructor and Description |
---|
Arg0ToPagedIterable() |
Modifier and Type | Method and Description |
---|---|
PagedIterable<T> |
apply(IterableWithMarker<T> input) |
protected List<Object> |
getArgs(GeneratedHttpRequest request) |
protected abstract com.google.common.base.Function<Object,IterableWithMarker<T>> |
markerToNextForArg0(com.google.common.base.Optional<Object> arg0) |
I |
setContext(HttpRequest request) |
public PagedIterable<T> apply(IterableWithMarker<T> input)
apply
in interface com.google.common.base.Function<IterableWithMarker<T>,PagedIterable<T>>
protected List<Object> getArgs(GeneratedHttpRequest request)
protected abstract com.google.common.base.Function<Object,IterableWithMarker<T>> markerToNextForArg0(com.google.common.base.Optional<Object> arg0)
arg0
- present when there was an arg0public I setContext(HttpRequest request)
setContext
in interface InvocationContext<I extends Arg0ToPagedIterable<T,I>>
Copyright © 2009-2013 jclouds. All Rights Reserved.