this.oauth1Credentials = oauth1Credentials;
this.signingUtils = new SigningSupport();
}
public ClientHttpResponse intercept(final HttpRequest request, final byte[] body, ClientHttpRequestExecution execution) throws IOException {
HttpRequest protectedResourceRequest = new HttpRequestDecorator(request);
protectedResourceRequest.getHeaders().add("Authorization", getAuthorizationHeaderValue(request, body));
return execution.execute(protectedResourceRequest, body);
}