public static HttpURLConnection clearMessages ( final URI uri , final QueueRequestOptions queueOptions , final OperationContext opContext ) throws URISyntaxException , IOException , StorageException { return BaseRequest . delete ( uri , queueOptions , null , opContext ) ; }
Constructs a web request to clear all the messages in the queue . Sign the web request with a length of - 1L .