public static HttpURLConnection getServiceProperties ( 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 , Constants . QueryConstants . PROPERTIES ) ; builder . add ( Constants . QueryConstants . RESOURCETYPE , SERVICE ) ; final HttpURLConnection retConnection = createURLConnection ( uri , options , builder , opContext ) ; retConnection . setRequestMethod ( Constants . HTTP_GET ) ; return retConnection ; }
Creates a HttpURLConnection used to retrieve the Analytics service properties from the storage service .