title: Metadata fields not received from azure java sdk on a blob
body: <p>In our Azure portal I have created a storage account and inside created a blob container and inside that a blob which is just a simple text file. I have also set the some random metadata fields on the blob seen here. <a href="https://i.stack.imgur.com/AyAnt.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/AyAnt.png" alt="enter image description here"></a></p>
  
  <p>In my java code when I access the blob via the Azure SDK I can print the content of the blob, I can acccess the blob properties like the Etag and I can access the container metadata. But I cannot print the blob metadata fields seen above. Specifically this code taken from the samples page doesn't print anything since the received HashMap from <code>blob.getMetadata()</code> method is empty.</p>
  
  <pre><code>System.out.println("Get blob metadata:"); 
               HashMap&lt;String, String&gt; metadata = blob.getMetadata(); 
               Iterator it = metadata.entrySet().iterator(); 
               while (it.hasNext()) { 
                  Map.Entry pair = (Map.Entry) it.next(); 
                   System.out.printf(" %s = %s%n", pair.getKey(), pair.getValue()); 
                   it.remove(); 
               } 
  </code></pre>
  
  <p>If I instead make a REST API call to the blob and ask for the metadata fields I do get them back as HTTP headers. However I would like to access them via the SDK if possible.</p>