Class AuidContinuationToken

java.lang.Object
org.lockss.laaws.rs.impl.AuidContinuationToken

public class AuidContinuationToken extends Object
The continuation token used to paginate through a list of archival unit identifiers.
Author:
Fernando GarcĂ­a-Loygorri
  • Constructor Details

    • AuidContinuationToken

      public AuidContinuationToken(String webRequestContinuationToken) throws IllegalArgumentException
      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

      public AuidContinuationToken(String auid, Integer iteratorHashCode)
      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

      public String getAuid()
      Provides the last archival unit identifier transferred.
      Returns:
      a String with the last archival unit identifier transferred.
    • getIteratorHashCode

      public Integer getIteratorHashCode()
      Provides the hash code of the iterator used.
      Returns:
      an Integer with the hash code of the iterator used.
    • toWebResponseContinuationToken

      public String 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

      public String toString()
      Overrides:
      toString in class Object