-
- All Implemented Interfaces:
-
ai.platon.pulsar.common.urls.UrlAware,kotlin.Comparable
public interface ComparableUrlAware implements UrlAware, Comparable<UrlAware>
-
-
Method Summary
Modifier and Type Method Description abstract StringgetUrl()The url, it can be configured or not abstract UnitsetUrl(String url)The url, it can be configured or not abstract StringgetArgs()The url args abstract UnitsetArgs(String args)The url args abstract StringgetReferer()The referer(or referrer) abstract UnitsetReferer(String referer)The referer(or referrer) abstract StringgetHref()The hypertext reference, It defines the address of the document, which this time is linked from abstract UnitsetHref(String href)The hypertext reference, It defines the address of the document, which this time is linked from abstract StringgetConfiguredUrl()The configured url, always be "$url $args" abstract BooleangetIsNil()If this is a Nil url who's url is AppConstants. abstract BooleangetIsPersistable()If this link is persistable abstract StringgetLabel()The url label, it should be in args abstract InstantgetDeadTime()The url label, it should be in args abstract StringgetLang()Required website language abstract StringgetCountry()Required website country abstract StringgetDistrict()Required website district abstract IntegergetMaxRetry()The maximum retry times -
-
Method Detail
-
getReferer
abstract String getReferer()
The referer(or referrer)
-
setReferer
abstract Unit setReferer(String referer)
The referer(or referrer)
-
getHref
abstract String getHref()
The hypertext reference, It defines the address of the document, which this time is linked from
-
setHref
abstract Unit setHref(String href)
The hypertext reference, It defines the address of the document, which this time is linked from
-
getConfiguredUrl
abstract String getConfiguredUrl()
The configured url, always be "$url $args"
-
getIsPersistable
abstract Boolean getIsPersistable()
If this link is persistable
-
getDeadTime
abstract Instant getDeadTime()
The url label, it should be in args
-
getCountry
abstract String getCountry()
Required website country
-
getDistrict
abstract String getDistrict()
Required website district
-
getMaxRetry
abstract Integer getMaxRetry()
The maximum retry times
-
-
-
-