code: @Override
      public ClientResponse doHandle(ClientRequest cr) {
          UriBuilder newUri = UriBuilder.fromUri(cr.getURI());
          String currentQuery = cr.getURI().getRawQuery();
          if (currentQuery == null) {
              currentQuery = "";
          } else if (currentQuery.length() > 0) {
              currentQuery += "&";
          }
          currentQuery += "api-version=2016-05-31&" + sasToken;
  
          newUri.replaceQuery(currentQuery);
          cr.setURI(newUri.build());
  
          return getNext().handle(cr);
      }
docs: /*
  (non-Javadoc)
  
  @see
  com.microsoft.windowsazure.services.core.IdempotentClientFilter#doHandle
  (com.sun.jersey.api.client.ClientRequest)