-
public interface UrlAwareThe UrlAware interface.
-
-
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 IntegergetPriority()The priority abstract UnitsetPriority(Integer priority)The priority abstract StringgetConfiguredUrl()The configured url, always be "$url $args" abstract BooleangetIsNil()An url is Nil if it equals to AppConstants. abstract BooleangetIsPersistable()If this link is persistable abstract StringgetLabel()The url label, it should be a shortcut for -label option in args abstract InstantgetDeadTime()The url label, it should be a shortcut for -deadTime option in args abstract StringgetLang()Required website language abstract StringgetCountry()Required website country abstract StringgetDistrict()Required website district abstract IntegergetNMaxRetry()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
-
getPriority
abstract Integer getPriority()
The priority
-
setPriority
abstract Unit setPriority(Integer priority)
The priority
-
getConfiguredUrl
abstract String getConfiguredUrl()
The configured url, always be "$url $args"
-
getIsPersistable
abstract Boolean getIsPersistable()
If this link is persistable
-
getLabel
abstract String getLabel()
The url label, it should be a shortcut for -label option in args
-
getDeadTime
abstract Instant getDeadTime()
The url label, it should be a shortcut for -deadTime option in args
-
getCountry
abstract String getCountry()
Required website country
-
getDistrict
abstract String getDistrict()
Required website district
-
getNMaxRetry
abstract Integer getNMaxRetry()
The maximum retry times
-
-
-
-