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 a
ListOptions that can be
used to perform a request to get another page of a paginated list.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic StringgetFirstOrNull(String key, com.google.common.collect.Multimap<String, String> params) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.google.common.base.Function
equals
-
Constructor Details
-
HrefToListOptions
public HrefToListOptions()
-
-
Method Details
-
apply
- Specified by:
applyin interfacecom.google.common.base.Function<Href,ListOptions> - Specified by:
applyin interfaceFunction<Href,ListOptions>
-
getFirstOrNull
-