Skip to content

Latest commit

 

History

History
64 lines (51 loc) · 4.02 KB

File metadata and controls

64 lines (51 loc) · 4.02 KB
page_type languages products urlFragment
sample
java
azure
azure-storage
azure-blob-storage
storage-blob-samples

Azure Storage Blob Samples client library for Java

This document explains samples and how to use them.

Key concepts

Key concepts are explained in detail here.

Samples Azure Storage Blob APIs

This document describes how to use samples and what is done in each sample.

Getting started

Getting started explained in detail here.

For details on including this dependency in other build tools (Gradle, SBT, etc), refer here.

Examples

Following section document various examples.

  1. Basic Examples: Create storage, container and blob clients. Upload, download and list blobs.
  2. File Transfer Examples: Upload and download a large file through blobs.
  3. Storage Error Examples: Handle the exceptions thrown from the Storage Blob service side.
  4. List Container Examples: Create, list and delete containers.
  5. Set Metadata and HTTPHeaders Examples: Set metadata for containers and blobs, and set HTTPHeaders for blobs.
  6. Azure Identity Examples: Use DefaultAzureCredential to do the authentication.

Troubleshooting

When interacting with blobs using this Java client library, errors returned by the service correspond to the same HTTP status codes returned for REST API requests. For example, if you try to retrieve a container or blob that doesn't exist in your Storage Account, a 404 error is returned, indicating Not Found

Next steps

Start using Storage blob Java SDK in your solutions. Our SDK details could be found at SDK README.

Additional Documentation

For more extensive documentation on Azure Storage blob, see the API reference documentation.

Contributing

This project welcomes contributions and suggestions. Find more contributing details here.

Impressions