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 001ABD74B for ; Mon, 17 Dec 2012 21:18:13 +0000 (UTC) Received: (qmail 46172 invoked by uid 500); 17 Dec 2012 21:18:13 -0000 Delivered-To: apmail-chemistry-dev-archive@chemistry.apache.org Received: (qmail 45862 invoked by uid 500); 17 Dec 2012 21:18:13 -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 45806 invoked by uid 99); 17 Dec 2012 21:18:12 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 17 Dec 2012 21:18:12 +0000 Date: Mon, 17 Dec 2012 21:18:12 +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-564) Custom HTTP request invocation 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-564?page=3Dcom.atlassian.= jira.plugin.system.issuetabpanels:all-tabpanel ] Florian M=C3=BCller resolved CMIS-564. --------------------------------- Resolution: Fixed Fix Version/s: (was: OpenCMIS 0.7.0) OpenCMIS 0.9.0 I have adopted the idea, but the implementation is different. The HttpUtils= class has been replaced by the HttpInvoker interface. An implementation of= this interface can be specified with the session parameter "org.apache.che= mistry.opencmis.binding.httpinvoker.classname". Thanks for the suggestion! =20 > Custom HTTP request invocation > ------------------------------ > > Key: CMIS-564 > URL: https://issues.apache.org/jira/browse/CMIS-564 > Project: Chemistry > Issue Type: Improvement > Components: opencmis-client-bindings > Affects Versions: OpenCMIS 0.7.0 > Reporter: Thorben Betten > Assignee: Florian M=C3=BCller > Priority: Minor > Fix For: OpenCMIS 0.9.0 > > Attachments: chemistry-opencmis-client-bindings-0.7.0-src.jar > > > Dear Chemistry project members, > =20 > I want to share attached code modification with you that enhances " org/a= pache/chemistry/opencmis/client/bindings/spi/http/HttpUtils" by an addition= al property to execute requests by calling " org/apache/chemistry/opencmis/= client/bindings/spi/http/HttpInvoker". > =20 > Your own HttpInvoker-Implementation can be specified through session para= meter " org.apache.chemistry.opencmis.binding.HttpInvoker". This interface = allows 3rd party developers to fully control how HTTP request is performed.= E.g. I needed to use Apache's HttpClient for fully supported NTLM authenti= cation cycle. > =20 > Furthermore I added class " org/apache/chemistry/opencmis/client/bindings= /spi/http/AbstractHttpInvoker" that delegates to common HttpUtils.invoke() = if certain criteria is not met. > =20 > Feel free to add if you like and approve it... -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrato= rs For more information on JIRA, see: http://www.atlassian.com/software/jira