public interface UrlBuilder
The contract for URL contributors is as follows:
addToHash(String, Object) and / or the
querystring addToQueryString(String, String). This is done at page-render time (when rendering the URLs).| Modifier and Type | Method and Description |
|---|---|
void |
addAllPrebakeErrors(Collection<PrebakeError> es) |
void |
addPrebakeError(PrebakeError e)
Allows a transform/condition to indicate that it was unable to add to the url for the given Coordinate.
|
void |
addToHash(String name,
Object value)
Contributes to the url's static hash
|
void |
addToQueryString(String key,
String value)
Contributes to the url's querystring
|
void addToHash(String name, @Nullable Object value)
name - name of the hash. This is used for logging and debugging only.value - value to contribute to the hash. The value will be converted to a String using value.toString()
when hashing. Can be null.void addToQueryString(String key, String value)
key - query keyvalue - query valuevoid addPrebakeError(PrebakeError e)
DimensionAwareTransformerUrlBuilder.addToUrl(UrlBuilder, Coordinate)
or
DimensionAwareUrlReadingCondition.addToUrl(UrlBuilder, Coordinate)void addAllPrebakeErrors(Collection<PrebakeError> es)
Copyright © 2024 Atlassian. All rights reserved.