Partager via


QueueServiceSasQueryParameters Class

@Deprecated
public final class QueueServiceSasQueryParameters
extends BaseSasQueryParameters

Note

This class has been deprecated. Please use the generateSas method on the desired queue client after initializing QueueServiceSasSignatureValues.

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 QueueServiceSasSignatureValues type. Once generated, it can be set on a QueueClientBuilder 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
QueueServiceSasQueryParameters(Map<String,String[]> queryParametersMap, boolean removeSasParametersFromMap)

Deprecated

Creates a new QueueServiceSasQueryParameters object.

Method Summary

Modifier and Type Method and Description
String encode()

Deprecated

Please use the generateSas method on the desired queue client after initializing QueueServiceSasSignatureValues.

Encodes all SAS query parameters into a string that can be appended to a URL.

String getIdentifier()

Deprecated

Gets the signed identifier (only for QueueServiceSasSignatureValues) or null.

Methods inherited from BaseSasQueryParameters

Methods inherited from java.lang.Object

Constructor Details

QueueServiceSasQueryParameters

@Deprecated
public QueueServiceSasQueryParameters(Map queryParametersMap, boolean removeSasParametersFromMap)

Deprecated

Creates a new QueueServiceSasQueryParameters object.

Parameters:

queryParametersMap - All query parameters for the request as key-value pairs
removeSasParametersFromMap - When true, the SAS query parameters will be removed from queryParametersMap

Method Details

encode

@Deprecated
public String encode()

Deprecated

Please use the generateSas method on the desired queue client after initializing QueueServiceSasSignatureValues.

Encodes all SAS query parameters into a string that can be appended to a URL.

Overrides:

QueueServiceSasQueryParameters.encode()

Returns:

A String representing the SAS query parameters.

getIdentifier

@Deprecated
public String getIdentifier()

Deprecated

Gets the signed identifier (only for QueueServiceSasSignatureValues) or null.

Returns:

The signed identifier (only for QueueServiceSasSignatureValues) or null. Please see here for more information.

Applies to