| Package | Description |
|---|---|
| com.microsoft.rest.v2.http |
This package contains the HTTP abstractions between the AnnotationParser's RestProxy and whatever
HTTP client we choose to use.
|
| Modifier and Type | Method and Description |
|---|---|
static UrlBuilder |
UrlBuilder.parse(String url)
Parse a UrlBuilder from the provided URL string.
|
static UrlBuilder |
UrlBuilder.parse(URL url)
Parse a UrlBuilder from the provided URL object.
|
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.withHost(String host)
Set the host that will be used to build the final URL.
|
UrlBuilder |
UrlBuilder.withPath(String path)
Set the path that will be used to build the final URL.
|
UrlBuilder |
UrlBuilder.withPort(int port)
Set the port that will be used to build the final URL.
|
UrlBuilder |
UrlBuilder.withPort(String port)
Set the port that will be used to build the final URL.
|
UrlBuilder |
UrlBuilder.withQuery(String query)
Set the query that will be used to build the final URL.
|
UrlBuilder |
UrlBuilder.withScheme(String scheme)
Set the scheme/protocol that will be used to build the final URL.
|
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/