You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@chemistry.apache.org by "Florian Müller (JIRA)" <ji...@apache.org> on 2012/12/17 22:18:12 UTC

[jira] [Resolved] (CMIS-564) Custom HTTP request invocation

     [ https://issues.apache.org/jira/browse/CMIS-564?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Florian Müller 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.chemistry.opencmis.binding.httpinvoker.classname".

Thanks for the suggestion!
                
> 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üller
>            Priority: Minor
>             Fix For: OpenCMIS 0.9.0
>
>         Attachments: chemistry-opencmis-client-bindings-0.7.0-src.jar
>
>
> Dear Chemistry project members,
>  
> I want to share attached code modification with you that enhances " org/apache/chemistry/opencmis/client/bindings/spi/http/HttpUtils" by an additional property to execute requests by calling " org/apache/chemistry/opencmis/client/bindings/spi/http/HttpInvoker".
>  
> Your own HttpInvoker-Implementation can be specified through session parameter " 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 authentication cycle.
>  
> 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.
>  
> 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 administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira