Package | Description |
---|---|
com.azure.core.util |
Package containing core utility classes.
|
Modifier and Type | Method and Description |
---|---|
UrlBuilder |
UrlBuilder.addQueryParameter(String queryParameterName,
String queryParameterEncodedValue)
Append the provided query parameter name and encoded value to query string for the final URL.
|
UrlBuilder |
UrlBuilder.clearQuery()
Clear the query that will be used to build the final URL.
|
static UrlBuilder |
UrlBuilder.parse(String url)
Parses the passed
url string into a UrlBuilder. |
static UrlBuilder |
UrlBuilder.parse(URL url)
Parse a UrlBuilder from the provided URL object.
|
UrlBuilder |
UrlBuilder.setHost(String host)
Set the host that will be used to build the final URL.
|
UrlBuilder |
UrlBuilder.setPath(String path)
Set the path that will be used to build the final URL.
|
UrlBuilder |
UrlBuilder.setPort(int port)
Set the port that will be used to build the final URL.
|
UrlBuilder |
UrlBuilder.setPort(String port)
Set the port that will be used to build the final URL.
|
UrlBuilder |
UrlBuilder.setQuery(String query)
Set the query that will be used to build the final URL.
|
UrlBuilder |
UrlBuilder.setQueryParameter(String queryParameterName,
String queryParameterEncodedValue)
Set the provided query parameter name and encoded value to query string for the final URL.
|
UrlBuilder |
UrlBuilder.setScheme(String scheme)
Set the scheme/protocol that will be used to build the final URL.
|
Copyright © 2021 Microsoft Corporation. All rights reserved.