Package org.jclouds.packet.functions
Class HrefToListOptions
- java.lang.Object
-
- org.jclouds.packet.functions.HrefToListOptions
-
- All Implemented Interfaces:
com.google.common.base.Function<Href,ListOptions>,Function<Href,ListOptions>
public class HrefToListOptions extends Object implements com.google.common.base.Function<Href,ListOptions>
Transforms an href returned by the API into aListOptionsthat can be used to perform a request to get another page of a paginated list.
-
-
Constructor Summary
Constructors Constructor Description HrefToListOptions()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ListOptionsapply(Href input)static StringgetFirstOrNull(String key, com.google.common.collect.Multimap<String,String> params)
-
-
-
Method Detail
-
apply
public ListOptions apply(Href input)
- Specified by:
applyin interfacecom.google.common.base.Function<Href,ListOptions>- Specified by:
applyin interfaceFunction<Href,ListOptions>
-
-