uri.queryParam( parameter.getKey(), parameter.getValue() );
}
}
RestTemplate template = new RestTemplate();
template.setErrorHandler( new LoggingResponseErrorHandler() );
HttpEntity<String> request = new HttpEntity<String>( headers );
String url = uri.build().toUriString();
LOG.debug( "calling oauth2 token endpoint {}", url );