From notifications-return-2704-apmail-jclouds-notifications-archive=jclouds.apache.org@jclouds.apache.org Wed Dec 11 12:26:15 2013 Return-Path: X-Original-To: apmail-jclouds-notifications-archive@www.apache.org Delivered-To: apmail-jclouds-notifications-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 5DF5B10695 for ; Wed, 11 Dec 2013 12:26:15 +0000 (UTC) Received: (qmail 98430 invoked by uid 500); 11 Dec 2013 12:26:15 -0000 Delivered-To: apmail-jclouds-notifications-archive@jclouds.apache.org Received: (qmail 98368 invoked by uid 500); 11 Dec 2013 12:26:14 -0000 Mailing-List: contact notifications-help@jclouds.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@jclouds.apache.org Delivered-To: mailing list notifications@jclouds.apache.org Received: (qmail 98202 invoked by uid 99); 11 Dec 2013 12:26:08 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 Dec 2013 12:26:08 +0000 Date: Wed, 11 Dec 2013 12:26:08 +0000 (UTC) From: "Andrew Phillips (JIRA)" To: notifications@jclouds.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (JCLOUDS-400) Allow the HeaderParam annotation to be used in a Caller. Produces/Consumes will propagate. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/JCLOUDS-400?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andrew Phillips updated JCLOUDS-400: ------------------------------------ Attachment: JCLOUDS-400.patch > Allow the HeaderParam annotation to be used in a Caller. Produces/Consumes will propagate. > ------------------------------------------------------------------------------------------ > > 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 > > Attachments: JCLOUDS-400.patch > > > 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); > The Produces/Consumes annotations (Content-Type/Accept headers) will also propagate from the Caller to the Callee. -- This message was sent by Atlassian JIRA (v6.1.4#6159)