[ https://issues.apache.org/jira/browse/JCLOUDS-400?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13843983#comment-13843983
]
Andrew Phillips commented on JCLOUDS-400:
-----------------------------------------
Just to understand the change here better: how would the above example have to be handled
currently?
> Allow the HeaderParam annotation to be used in a Caller.
> --------------------------------------------------------
>
> Key: JCLOUDS-400
> URL: https://issues.apache.org/jira/browse/JCLOUDS-400
> Project: jclouds
> Issue Type: Improvement
> Components: jclouds-core
> Reporter: Everett Toews
> Assignee: Everett Toews
> Priority: Minor
> Fix For: 1.7.0
>
>
> Allow jclouds to factor out common headers into the Caller so they don't
> have to be repeated in the Callee.
> e.g.
> @Delegate
> @Path("/queues/{name}")
> ClaimApi getClaimApiForZoneAndQueue(
> @EndpointParam(parser = ZoneToEndpoint.class) @Nullable String zone,
> @HeaderParam("Client-ID") UUID clientId,
> @PathParam("name") String name);
--
This message was sent by Atlassian JIRA
(v6.1.4#6159)
|