public interface UriBuilder
| Modifier and Type | Method and Description |
|---|---|
UriBuilder |
appendPath(String path)
Append to the path of the URI.
|
URI |
build(Object... params)
Builds the URI based on the URI members previously load.
|
UriBuilder |
fromUri(String path)
Sets the base uri that the builder will use to start constructing the uri from.
|
UriBuilder |
queryParam(String name,
String value)
Add a query string parameter to the URI.
|
UriBuilder fromUri(String path)
path - specifies the base uriUriBuilder appendPath(String path)
path - specifies the path to be appended to the URI.UriBuilder queryParam(String name, String value)
name - specifies the name of the query string param.value - specifies the value of the query string param.URI build(Object... params)
params - specifies a list of objects representing the values of the placeholders within the path.Copyright © 2014–2024 MuleSoft, Inc.. All rights reserved.