public static HttpURLConnection deleteDirectory ( final URI uri , final FileRequestOptions fileOptions , final OperationContext opContext , final AccessCondition accessCondition ) throws IOException , URISyntaxException , StorageException { final UriQueryBuilder directoryBuilder = getDirectoryUriQueryBuilder ( ) ; HttpURLConnection request = BaseRequest . delete ( uri , fileOptions , directoryBuilder , opContext ) ; if ( accessCondition != null ) { accessCondition . applyConditionToRequest ( request ) ; } return request ; }
Constructs a web request to delete the directory and all of the directories and files within it . Sign with no length specified .