public static HttpURLConnection downloadAttributes ( final URI uri , final QueueRequestOptions queueOptions , final OperationContext opContext ) throws IOException , URISyntaxException , StorageException { UriQueryBuilder builder = new UriQueryBuilder ( ) ; builder . add ( Constants . QueryConstants . COMPONENT , METADATA ) ; final HttpURLConnection retConnection = BaseRequest . createURLConnection ( uri , queueOptions , builder , opContext ) ; retConnection . setRequestMethod ( Constants . HTTP_HEAD ) ; return retConnection ; }
Constructs a web request to download user - defined metadata and the approximate message count for the queue . Sign the web request with a length of - 1L .