你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
ShareServiceSasQueryParameters Class
- java.
lang. Object - com.
azure. storage. common. sas. BaseSasQueryParameters - com.
azure. storage. file. share. sas. ShareServiceSasQueryParameters
- com.
- com.
@Deprecated
public final class ShareServiceSasQueryParameters
extends BaseSasQueryParameters
Note
This class has been deprecated.
Please use the generate
Represents the components that make up an Azure Storage SAS' query parameters. This type is not constructed directly by the user; it is only generated by the ShareServiceSasSignatureValues type. Once generated, it can be set on a ShareFileClientBuilder object to be constructed as part of a URL or it can be encoded into a String
and appended to a URL directly (though caution should be taken here in case there are existing query parameters, which might affect the appropriate means of appending these query parameters). NOTE: Instances of this class are immutable to ensure thread safety.
Constructor Summary
Constructor | Description |
---|---|
ShareServiceSasQueryParameters(Map<String,String[]> queryParamsMap, boolean removeSasParametersFromMap) |
Deprecated
Please use ShareServiceSasSignatureValues
Creates a new ShareServiceSasQueryParameters object. |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
encode()
Deprecated
Please use the generate
Encodes all SAS query parameters into a string that can be appended to a URL. |
String |
getCacheControl()
Deprecated
Please use ShareServiceSasSignatureValues
|
String |
getContentDisposition()
Deprecated
Please use ShareServiceSasSignatureValues
|
String |
getContentEncoding()
Deprecated
Please use ShareServiceSasSignatureValues
|
String |
getContentLanguage()
Deprecated
Please use ShareServiceSasSignatureValues
|
String |
getContentType()
Deprecated
Please use ShareServiceSasSignatureValues
|
String |
getIdentifier()
Deprecated
Please use ShareServiceSasSignatureValues
|
String |
getResource()
Deprecated
Please use ShareServiceSasSignatureValues
|
Methods inherited from BaseSasQueryParameters
Methods inherited from java.lang.Object
Constructor Details
ShareServiceSasQueryParameters
@Deprecated
public ShareServiceSasQueryParameters(Map
Deprecated
Creates a new ShareServiceSasQueryParameters object.
Parameters:
true
, the SAS query parameters will be removed from
queryParamsMap
Method Details
encode
@Deprecated
public String encode()
Deprecated
Encodes all SAS query parameters into a string that can be appended to a URL.
Overrides:
ShareServiceSasQueryParameters.encode()Returns:
String
representing the SAS query parameters.getCacheControl
@Deprecated
public String getCacheControl()
Deprecated
Returns:
getContentDisposition
@Deprecated
public String getContentDisposition()
Deprecated
Returns:
getContentEncoding
@Deprecated
public String getContentEncoding()
Deprecated
Returns:
getContentLanguage
@Deprecated
public String getContentLanguage()
Deprecated
Returns:
getContentType
@Deprecated
public String getContentType()
Deprecated
Returns:
getIdentifier
@Deprecated
public String getIdentifier()
Deprecated
Returns:
null
. Please see
here
for more information.getResource
@Deprecated
public String getResource()
Deprecated
Returns: