>        Multimap<String, Object> queryParams = addQueryParams(tokenValues, 
> invocation);
> -      Multimap<String, String> headers = buildHeaders(tokenValues, 
> invocation);
> +
> +      Multimap<String, String> headers;
> +
> +      if (caller != null) {
> +         headers = buildHeaders(tokenValues, caller);

There aren't any examples of this in the current code. I did a find all usages 
of the HeaderParam annotation and there aren't any in Callers.

I needed this for my work in openstack-marconi in jclouds-labs-openstack and 
provided an example in the JIRA issue.

---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds/pull/226/files#r8235275

Reply via email to