public abstract class StorageURL extends Object
Modifier and Type | Field and Description |
---|---|
protected GeneratedStorageClient |
storageClient |
Modifier | Constructor and Description |
---|---|
protected |
StorageURL(URL url,
com.microsoft.rest.v2.http.HttpPipeline pipeline) |
Modifier and Type | Method and Description |
---|---|
protected static URL |
appendToURLPath(URL baseURL,
String name)
Appends a string to the end of a URL's path (prefixing the string with a '/' if required).
|
static com.microsoft.rest.v2.http.HttpPipeline |
createPipeline()
Creates an pipeline to process the HTTP requests and Responses.
|
static com.microsoft.rest.v2.http.HttpPipeline |
createPipeline(ICredentials credentials)
Creates an pipeline to process the HTTP requests and Responses.
|
static com.microsoft.rest.v2.http.HttpPipeline |
createPipeline(ICredentials credentials,
PipelineOptions pipelineOptions)
Creates an pipeline to process the HTTP requests and Responses.
|
static com.microsoft.rest.v2.http.HttpPipeline |
createPipeline(PipelineOptions pipelineOptions)
Creates an pipeline to process the HTTP requests and Responses.
|
String |
toString() |
URL |
toURL() |
protected final GeneratedStorageClient storageClient
protected StorageURL(URL url, com.microsoft.rest.v2.http.HttpPipeline pipeline)
protected static URL appendToURLPath(URL baseURL, String name) throws MalformedURLException
baseURL
- The url to which the name should be appended.name
- The name to be appended.MalformedURLException
- Appending the specified name produced an invalid URL.public static com.microsoft.rest.v2.http.HttpPipeline createPipeline()
public static com.microsoft.rest.v2.http.HttpPipeline createPipeline(ICredentials credentials)
credentials
- The credentials the pipeline will use to authenticate the requests.public static com.microsoft.rest.v2.http.HttpPipeline createPipeline(PipelineOptions pipelineOptions)
pipelineOptions
- Configurations for each policy in the pipeline.public static com.microsoft.rest.v2.http.HttpPipeline createPipeline(ICredentials credentials, PipelineOptions pipelineOptions)
credentials
- The credentials the pipeline will use to authenticate the requests.pipelineOptions
- Configurations for each policy in the pipeline.public URL toURL()
Copyright © 2019 Microsoft Corporation. All rights reserved.