B - Concrete builder typepublic interface NavigationURLBuilder<B extends NavigationURLBuilder<B>> extends Serializable
| Modifier and Type | Method and Description |
|---|---|
B |
encodeQueryParameters(boolean encode)
Set whether to URL-encode the query parameter names and values, using the
UTF-8 charset. |
<T> B |
withPathParameter(T pathParameter)
Add a URL path parameter value to be included in the navigation URL.
|
<T> B |
withQueryParameter(String name,
List<T> values)
Add query parameter values to be included in the navigation URL.
|
default <T> B |
withQueryParameter(String name,
T... values)
Add query parameter values to be included in the navigation URL.
|
default <T> B withQueryParameter(String name, T... values)
If one or more values was previously associated to given parameter name, the given
values will be added to the existing values set.
T - Parameter typename - The parameter name (not null)values - The parameter values<T> B withQueryParameter(String name, List<T> values)
If one or more values was previously associated to given parameter name, the given
values will be added to the existing values set.
T - Parameter typename - The parameter name (not null)values - The parameter values<T> B withPathParameter(T pathParameter)
T - Parameter typepathParameter - The parameter value (not null)B encodeQueryParameters(boolean encode)
UTF-8 charset.
Default is true.
encode - Whether to URL-encode the query parameterCopyright © 2019 The Holon Platform. All rights reserved.