Package ai.platon.pulsar.common.urls
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.
-
-
Method Summary
Modifier and Type Method Description abstract StringgetAuthToken()abstract UnitsetAuthToken(String authToken)abstract StringgetRemoteAddr()abstract UnitsetRemoteAddr(String remoteAddr)abstract IntegergetStatus()abstract UnitsetStatus(Integer status)abstract InstantgetModifiedAt()abstract UnitsetModifiedAt(Instant modifiedAt)abstract InstantgetCreatedAt()-
Methods inherited from class kotlin.Comparable
compareTo -
Methods inherited from class ai.platon.pulsar.common.urls.UrlAware
getArgs, getConfiguredUrl, getCountry, getDeadTime, getDeadline, getDistrict, getHref, getLabel, getLang, getNMaxRetry, getPriority, getReferer, getReferrer, getToURL, getToURLOrNull, getUrl, isNil, isPersistable, isStandard, setArgs, setHref, setPriority, setReferrer, setUrl -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
getAuthToken
abstract String getAuthToken()
-
setAuthToken
abstract Unit setAuthToken(String authToken)
-
getRemoteAddr
abstract String getRemoteAddr()
-
setRemoteAddr
abstract Unit setRemoteAddr(String remoteAddr)
-
getModifiedAt
abstract Instant getModifiedAt()
-
setModifiedAt
abstract Unit setModifiedAt(Instant modifiedAt)
-
getCreatedAt
abstract Instant getCreatedAt()
-
-
-
-