public void removeApplicationDescriptor(String serviceName,
String hostName,
String applicationName) {
webResource = getDescriptorRegistryBaseResource().path(
ResourcePathConstants.DecResourcePathConstants.APP_DESC_DELETE);
MultivaluedMap queryParams = new MultivaluedMapImpl();
queryParams.add("serviceName", serviceName);
queryParams.add("hostName", hostName);
queryParams.add("appName", applicationName);
builder = BasicAuthHeaderUtil.getBuilder(
webResource, queryParams, userName, null, cookie, gateway);
ClientResponse response = builder.accept(
MediaType.TEXT_PLAIN).delete(ClientResponse.class);