public static HttpURLConnection deleteMessage ( final URI uri , final QueueRequestOptions queueOptions , final OperationContext opContext , final String popReceipt ) throws URISyntaxException , IOException , StorageException { final UriQueryBuilder builder = new UriQueryBuilder ( ) ; builder . add ( POP_RECEIPT , popReceipt ) ; final HttpURLConnection request = BaseRequest . delete ( uri , queueOptions , builder , opContext ) ; return request ; }
Constructs a web request to delete a message from the queue . Sign the web request with a length of - 1L .