code: public static HttpURLConnection setMetadata(final URI uri, final RequestOptions options, UriQueryBuilder builder,
              final OperationContext opContext) throws IOException, URISyntaxException, StorageException {
  
          if (builder == null) {
              builder = new UriQueryBuilder();
          }
  
          builder.add(Constants.QueryConstants.COMPONENT, METADATA);
          final HttpURLConnection retConnection = createURLConnection(uri, options, builder, opContext);
  
          retConnection.setFixedLengthStreamingMode(0);
          retConnection.setDoOutput(true);
          retConnection.setRequestMethod(Constants.HTTP_PUT);
  
          return retConnection;
      }
docs: Sets the metadata. Sign with 0 length.
  
  @param uri
  The blob Uri.
  @param timeout
  The timeout.
  @param builder
  The builder.
  @param opContext
  an object used to track the execution of the operation
  @return a web request for performing the operation.
  @throws StorageException
  @throws URISyntaxException
  @throws IOException