Return-Path: X-Original-To: apmail-chemistry-dev-archive@www.apache.org Delivered-To: apmail-chemistry-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 4939810BF6 for ; Tue, 26 Nov 2013 16:53:51 +0000 (UTC) Received: (qmail 90727 invoked by uid 500); 26 Nov 2013 16:52:51 -0000 Delivered-To: apmail-chemistry-dev-archive@chemistry.apache.org Received: (qmail 90644 invoked by uid 500); 26 Nov 2013 16:52:44 -0000 Mailing-List: contact dev-help@chemistry.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@chemistry.apache.org Delivered-To: mailing list dev@chemistry.apache.org Received: (qmail 90564 invoked by uid 99); 26 Nov 2013 16:52:36 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 26 Nov 2013 16:52:36 +0000 Date: Tue, 26 Nov 2013 16:52:36 +0000 (UTC) From: =?utf-8?Q?Florian_M=C3=BCller_=28JIRA=29?= To: dev@chemistry.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (CMIS-736) Need to add custom HTTP request properties MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CMIS-736?page=3Dcom.atlassian.= jira.plugin.system.issuetabpanels:all-tabpanel ] Florian M=C3=BCller resolved CMIS-736. --------------------------------- Resolution: Implemented Assignee: Florian M=C3=BCller > Need to add custom HTTP request properties > ------------------------------------------ > > Key: CMIS-736 > URL: https://issues.apache.org/jira/browse/CMIS-736 > Project: Chemistry > Issue Type: Wish > Components: opencmis-client-bindings > Affects Versions: OpenCMIS 0.10.0 > Reporter: Derrick Brooks > Assignee: Florian M=C3=BCller > Priority: Minor > Fix For: OpenCMIS 1.0.0 > > > I'm using the OpenCMIS client to connect to a Sharepoint document library= that have some custom authorization code on the server side. That custom c= ode requires that additional HTTP request properties be sent from the clien= t. > My current working workaround, is that I've defined my own HttpInvoker th= at is basically a copy of the DefaultHttpInvoker (org.apache.chemistry.open= cmis.client.bindings.spi.http.DefaultHttpInvoker) with the addition of two = conn.setRequestProperty(...) statements in the invoke method. > It would be nice if I didn't have to duplicate code. A protected method l= ike below that I could override for a custom invoker would be ideal ... > protected void initConnection(HttpURLConnection conn, BindingSession sess= ion) { > ... > } -- This message was sent by Atlassian JIRA (v6.1#6144)