Example usage for org.springframework.web.client RestOperations delete

List of usage examples for org.springframework.web.client RestOperations delete

Introduction

In this page you can find the example usage for org.springframework.web.client RestOperations delete.

Prototype

void delete(String url, Map<String, ?> uriVariables) throws RestClientException;

Source Link

Document

Delete the resources at the specified URI.

Usage

From source file:org.trustedanalytics.metricsprovider.cloudadapter.RestOperationsHelpers.java

public static void deleteWithToken(RestOperations restTemplate, String token, String url,
        Map<String, ?> pathVars) {
    addAuthHeaderToTemplate(restTemplate, token);
    restTemplate.delete(url, pathVars);
}