Package ai.platon.pulsar.common.urls
Class StatefulFatLink
-
- All Implemented Interfaces:
-
ai.platon.pulsar.common.urls.ComparableUrlAware,ai.platon.pulsar.common.urls.StatefulUrl,ai.platon.pulsar.common.urls.UrlAware,kotlin.Comparable
public class StatefulFatLink extends FatLink implements StatefulUrl
-
-
Field Summary
Fields Modifier and Type Field Description private StringauthTokenprivate StringremoteAddrprivate Integerstatusprivate InstantmodifiedAtprivate final InstantcreatedAtprivate final Integersizeprivate final BooleanisEmptyprivate final BooleanisNotEmptyprivate List<StatefulHyperlink>tailLinksprivate final StringconfiguredUrlprivate final BooleanisStandardprivate final URLtoURLprivate final URLtoURLOrNullprivate final BooleanisNilprivate final BooleanisPersistableprivate final Stringlabelprivate final Instantdeadlineprivate Stringurlprivate Stringtextprivate Integerorderprivate Stringreferrerprivate Stringargsprivate Stringhrefprivate Integerpriorityprivate Stringlangprivate Stringcountryprivate Stringdistrictprivate IntegernMaxRetryprivate Integerdepth
-
Method Summary
Modifier and Type Method Description StringgetAuthToken()The authorization token, it is used to authenticate the request. UnitsetAuthToken(String authToken)The authorization token, it is used to authenticate the request. StringgetRemoteAddr()The remote address UnitsetRemoteAddr(String remoteAddr)The remote address IntegergetStatus()The status of the url UnitsetStatus(Integer status)The status of the url InstantgetModifiedAt()The modified time UnitsetModifiedAt(Instant modifiedAt)The modified time InstantgetCreatedAt()The created time StringtoString()-
Methods inherited from class ai.platon.pulsar.common.urls.FatLink
getSize, getTailLinks, isEmpty, isNotEmpty, setTailLinks -
Methods inherited from class ai.platon.pulsar.common.urls.AbstractUrl
compareTo, equals, getArgs, getConfiguredUrl, getCountry, getDeadline, getDepth, getDistrict, getHref, getLabel, getLang, getNMaxRetry, getOrder, getPriority, getReferrer, getText, getToURL, getToURLOrNull, getUrl, hashCode, isNil, isPersistable, isStandard, serialize, setArgs, setCountry, setDepth, setDistrict, setHref, setLang, setNMaxRetry, setOrder, setPriority, setReferrer, setText, setUrl -
Methods inherited from class ai.platon.pulsar.common.urls.Hyperlink
data, isDefault, serializeTo, toDatum -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
getAuthToken
String getAuthToken()
The authorization token, it is used to authenticate the request. The auth token like this:
a106WzRlrvS9Ae77d4a20e9a30344ef688562c0a249f7.
-
setAuthToken
Unit setAuthToken(String authToken)
The authorization token, it is used to authenticate the request. The auth token like this:
a106WzRlrvS9Ae77d4a20e9a30344ef688562c0a249f7.
-
getRemoteAddr
String getRemoteAddr()
The remote address
-
setRemoteAddr
Unit setRemoteAddr(String remoteAddr)
The remote address
-
getModifiedAt
Instant getModifiedAt()
The modified time
-
setModifiedAt
Unit setModifiedAt(Instant modifiedAt)
The modified time
-
getCreatedAt
Instant getCreatedAt()
The created time
-
-
-
-