Interface StatefulUrl

  • All Implemented Interfaces:
    ai.platon.pulsar.common.urls.ComparableUrlAware , ai.platon.pulsar.common.urls.UrlAware , kotlin.Comparable

    
    public interface StatefulUrl
     implements ComparableUrlAware
                        

    The StatefulUrl interface. A StatefulUrl is an UrlAware with status.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      abstract String getAuthToken() The authorization token, it is used to authenticate the request.
      abstract Unit setAuthToken(String authToken) The authorization token, it is used to authenticate the request.
      abstract String getRemoteAddr() The remote address
      abstract Unit setRemoteAddr(String remoteAddr) The remote address
      abstract Integer getStatus() The status of the url
      abstract Unit setStatus(Integer status) The status of the url
      abstract Instant getModifiedAt() The modified time
      abstract Unit setModifiedAt(Instant modifiedAt) The modified time
      abstract Instant getCreatedAt() The created time
      • Methods inherited from class kotlin.Comparable

        compareTo
      • Methods inherited from class ai.platon.pulsar.common.urls.UrlAware

        getArgs, getConfiguredUrl, getCountry, getDeadline, getDepth, getDistrict, getHref, getLabel, getLang, getNMaxRetry, getOrder, getPriority, getReferrer, getText, getToURL, getToURLOrNull, getUrl, isNil, isPersistable, isStandard, setArgs, setHref, setOrder, setPriority, setReferrer, setText, setUrl
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait