code: private static ObjectMetadata getObjectMetadataForKey(Key k) {
      String[] bk = decodeKey(k);
      assert (bk.length == 2);
      return getClient().getObjectMetadata(bk[0], bk[1]);
    }
docs: Gets the object metadata associated with given key.