Skip to content

Instantly share code, notes, and snippets.

@yaronp68
Created March 15, 2012 09:06
Show Gist options
  • Save yaronp68/2043089 to your computer and use it in GitHub Desktop.
Save yaronp68/2043089 to your computer and use it in GitHub Desktop.
try {
service.path(
this.pathPrefix + "servers/" + serverId).header(
"X-Auth-Token", token).accept(
MediaType.APPLICATION_XML).delete();
} catch (final UniformInterfaceException e) {
throw new IllegalArgumentException(e);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment