Holds a fully qualified, externally reachable URL together with the exact domain name it was built for. Produced by WebUtils.extUrl and its callers when building a link to a resource that includes a login token, since the signed token is only valid against the precise domain it was generated for. The underlying builder is exposed directly so callers can keep appending path segments as they walk up the resource tree before the login token is added.


Properties

PropertyReturnsDescription
domainStringThe exact domain name this URL was generated for. Any login token appended to the URL is only valid when the URL is accessed via this precise domain.
urlStringBuilderThe mutable builder holding the URL text accumulated so far. Callers may keep appending path segments to it before the final URL is read out, so the same instance is returned on every call rather than a snapshot.

Methods

getDomain()

Returns: String

The exact domain name this URL was generated for. Any login token appended to the URL is only valid when the URL is accessed via this precise domain.

getUrl()

Returns: StringBuilder

The mutable builder holding the URL text accumulated so far. Callers may keep appending path segments to it before the final URL is read out, so the same instance is returned on every call rather than a snapshot.

To get full access to the Kademi Hub existing customers can login here, or new customers can register here.