Package org.lockss.laaws.rs.impl
Class AuidContinuationToken
java.lang.Object
org.lockss.laaws.rs.impl.AuidContinuationToken
The continuation token used to paginate through a list of archival unit
identifiers.
- Author:
- Fernando GarcĂa-Loygorri
-
Constructor Summary
ConstructorsConstructorDescriptionAuidContinuationToken(String webRequestContinuationToken) Constructor from a web request continuation token.AuidContinuationToken(String auid, Integer iteratorHashCode) Constructor from members. -
Method Summary
-
Constructor Details
-
AuidContinuationToken
Constructor from a web request continuation token.- Parameters:
webRequestContinuationToken- A String with the web request continuation token.- Throws:
IllegalArgumentException- if the web request continuation token is not syntactically valid.
-
AuidContinuationToken
Constructor from members.- Parameters:
auid- A String with the last archival unit identifier transferred.iteratorHashCode- An Integer with the hash code of the iterator used.
-
-
Method Details
-
getAuid
Provides the last archival unit identifier transferred.- Returns:
- a String with the last archival unit identifier transferred.
-
getIteratorHashCode
Provides the hash code of the iterator used.- Returns:
- an Integer with the hash code of the iterator used.
-
toWebResponseContinuationToken
Provides this object in the form of a web response continuation token.- Returns:
- a String with this object in the form of a web response continuation token.
-
toString
-