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 aListOptions
that 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 ListOptions
apply(Href input)
static String
getFirstOrNull(String key, com.google.common.collect.Multimap<String,String> params)
-
-
-
Method Detail
-
apply
public ListOptions apply(Href input)
- Specified by:
apply
in interfacecom.google.common.base.Function<Href,ListOptions>
- Specified by:
apply
in interfaceFunction<Href,ListOptions>
-
-