/** * Constructs a web request to return the user-defined metadata for this container. Sign with no length specified. * * @param uri * A <code>java.net.URI</code> object that specifies the absolute URI. * @param blobOptions * A {@link BlobRequestOptions} object that specifies execution options such as retry policy and timeout * settings for the operation. Specify <code>null</code> to use the request options specified on the * {@link CloudBlobClient}. * @param opContext * An {@link OperationContext} object that represents the context for the current operation. This object * is used to track requests to the storage service, and to provide additional runtime information about * the operation. * @param accessCondition * An {@link AccessCondition} object that represents the access conditions for the container. * @return a HttpURLConnection configured for the operation. * @throws StorageException * */ public static HttpURLConnection getContainerProperties(final URI uri, final BlobRequestOptions blobOptions, final OperationContext opContext, AccessCondition accessCondition) throws IOException, URISyntaxException, StorageException { final UriQueryBuilder containerBuilder = getContainerUriQueryBuilder(); return getProperties(uri, blobOptions, opContext, accessCondition, containerBuilder); }
/** * Constructs a web request to return the user-defined metadata for this container. Sign with no length specified. * * @param uri * A <code>java.net.URI</code> object that specifies the absolute URI. * @param blobOptions * A {@link BlobRequestOptions} object that specifies execution options such as retry policy and timeout * settings for the operation. Specify <code>null</code> to use the request options specified on the * {@link CloudBlobClient}. * @param opContext * An {@link OperationContext} object that represents the context for the current operation. This object * is used to track requests to the storage service, and to provide additional runtime information about * the operation. * @param accessCondition * An {@link AccessCondition} object that represents the access conditions for the container. * @return a HttpURLConnection configured for the operation. * @throws StorageException * */ public static HttpURLConnection getContainerProperties(final URI uri, final BlobRequestOptions blobOptions, final OperationContext opContext, AccessCondition accessCondition) throws IOException, URISyntaxException, StorageException { final UriQueryBuilder containerBuilder = getContainerUriQueryBuilder(); return getProperties(uri, blobOptions, opContext, accessCondition, containerBuilder); }
final UriQueryBuilder builder = new UriQueryBuilder(); BlobRequest.addSnapshot(builder, snapshotVersion); return getProperties(uri, blobOptions, opContext, accessCondition, builder);
final UriQueryBuilder builder = new UriQueryBuilder(); BlobRequest.addSnapshot(builder, snapshotVersion); return getProperties(uri, blobOptions, opContext, accessCondition, builder);