builder.add(Constants.QueryConstants.COMPONENT, TIER_QUERY_ELEMENT_NAME); final HttpURLConnection request = createURLConnection(uri, builder, blobOptions, opContext);
builder.add(Constants.QueryConstants.COMPONENT, TIER_QUERY_ELEMENT_NAME); final HttpURLConnection request = createURLConnection(uri, builder, blobOptions, opContext);
final HttpURLConnection request = createURLConnection(uri, builder, blobOptions, opContext);
final HttpURLConnection request = createURLConnection(uri, builder, blobOptions, opContext);
builder.add(Constants.QueryConstants.COMPONENT, Constants.QueryConstants.PROPERTIES); final HttpURLConnection request = createURLConnection(uri, builder, blobOptions, opContext);
builder.add(Constants.QueryConstants.COMPONENT, Constants.QueryConstants.ACL); final HttpURLConnection request = createURLConnection(uri, builder, blobOptions, opContext);
final UriQueryBuilder builder = new UriQueryBuilder(); builder.add(Constants.QueryConstants.COMPONENT, BlobConstants.SNAPSHOT); final HttpURLConnection request = createURLConnection(uri, builder, blobOptions, opContext);
builder.add(Constants.QueryConstants.COMPONENT, Constants.QueryConstants.ACL); final HttpURLConnection request = createURLConnection(uri, builder, blobOptions, opContext);
final UriQueryBuilder builder = new UriQueryBuilder(); builder.add(Constants.QueryConstants.COMPONENT, BlobConstants.SNAPSHOT); final HttpURLConnection request = createURLConnection(uri, builder, blobOptions, opContext);
/** * Constructs a web request to return the ACL for this container. Sign with no length specified. * * @param uri * The absolute URI to the container. * @param accessCondition * An {@link AccessCondition} object that represents the access conditions for the container. * @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. * @return a HttpURLConnection configured for the operation. * @throws StorageException */ public static HttpURLConnection getAcl(final URI uri, final BlobRequestOptions blobOptions, final AccessCondition accessCondition, final OperationContext opContext) throws IOException, URISyntaxException, StorageException { final UriQueryBuilder builder = getContainerUriQueryBuilder(); builder.add(Constants.QueryConstants.COMPONENT, Constants.QueryConstants.ACL); final HttpURLConnection request = createURLConnection(uri, builder, blobOptions, opContext); request.setRequestMethod(Constants.HTTP_GET); if (accessCondition != null) { accessCondition.applyLeaseConditionToRequest(request); } return request; }
/** * Constructs a web request to return the ACL for this container. Sign with no length specified. * * @param uri * The absolute URI to the container. * @param timeout * The server timeout interval. * @param accessCondition * An {@link AccessCondition} object that represents the access conditions for the container. * @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. * @return a HttpURLConnection configured for the operation. * @throws StorageException */ public static HttpURLConnection getAcl(final URI uri, final BlobRequestOptions blobOptions, final AccessCondition accessCondition, final OperationContext opContext) throws IOException, URISyntaxException, StorageException { final UriQueryBuilder builder = getContainerUriQueryBuilder(); builder.add(Constants.QueryConstants.COMPONENT, Constants.QueryConstants.ACL); final HttpURLConnection request = createURLConnection(uri, builder, blobOptions, opContext); request.setRequestMethod(Constants.HTTP_GET); if (accessCondition != null) { accessCondition.applyLeaseConditionToRequest(request); } return request; }
builder.add(Constants.QueryConstants.COMPONENT, Constants.QueryConstants.PROPERTIES); final HttpURLConnection request = createURLConnection(uri, builder, blobOptions, opContext);
builder.add(Constants.QueryConstants.COMPONENT, Constants.QueryConstants.PROPERTIES); final HttpURLConnection request = createURLConnection(uri, builder, blobOptions, opContext);
builder.add(Constants.QueryConstants.COMPONENT, APPEND_BLOCK_QUERY_ELEMENT_NAME); final HttpURLConnection request = createURLConnection(uri, builder, blobOptions, opContext);
builder.add(BLOCK_ID_QUERY_ELEMENT_NAME, blockId); final HttpURLConnection request = createURLConnection(uri, builder, blobOptions, opContext);
builder.add(Constants.QueryConstants.COMPONENT, BLOCK_LIST_QUERY_ELEMENT_NAME); final HttpURLConnection request = createURLConnection(uri, builder, blobOptions, opContext);
builder.add(Constants.QueryConstants.COMPONENT, APPEND_BLOCK_QUERY_ELEMENT_NAME); final HttpURLConnection request = createURLConnection(uri, builder, blobOptions, opContext);
builder.add(Constants.QueryConstants.COMPONENT, PAGE_QUERY_ELEMENT_NAME); final HttpURLConnection request = createURLConnection(uri, builder, blobOptions, opContext);
builder.add(Constants.QueryConstants.COMPONENT, BLOCK_LIST_QUERY_ELEMENT_NAME); final HttpURLConnection request = createURLConnection(uri, builder, blobOptions, opContext);
builder.add(BLOCK_ID_QUERY_ELEMENT_NAME, blockId); final HttpURLConnection request = createURLConnection(uri, builder, blobOptions, opContext);