public class FileUploadSasUriResponse
extends java.lang.Object
| Constructor and Description |
|---|
FileUploadSasUriResponse(java.lang.String json)
Create an instance of the FileUploadSasUriResponse using the information in the provided json.
|
| Modifier and Type | Method and Description |
|---|---|
java.net.URI |
getBlobUri()
Get the full Azure Storage blob uri to upload a file to.
|
public FileUploadSasUriResponse(java.lang.String json)
throws java.lang.IllegalArgumentException
json - is the string that contains a valid json with the FileUpload response.java.lang.IllegalArgumentException - if the json is null, empty, or not valid.public java.net.URI getBlobUri()
throws java.io.UnsupportedEncodingException,
java.net.URISyntaxException
java.io.UnsupportedEncodingException - if UTF-8 encoding is not supported on this device.java.net.URISyntaxException - if building the URI fails for any reason.Copyright © 2023. All rights reserved.