chemistry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Florian Müller (JIRA) <j...@apache.org>
Subject [jira] [Updated] (CMIS-736) Need to add custom HTTP request properties
Date Thu, 08 Sep 2016 14:38:22 GMT

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

Florian Müller updated CMIS-736:
--------------------------------
    Fix Version/s:     (was: OpenCMIS 1.0.0)

> 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üller
>            Priority: Minor
>
> 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 code requires that additional HTTP
request properties be sent from the client.
> My current working workaround, is that I've defined my own HttpInvoker that is basically
a copy of the DefaultHttpInvoker (org.apache.chemistry.opencmis.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 like below that
I could override for a custom invoker would be ideal ...
> protected void initConnection(HttpURLConnection conn, BindingSession session) {
>    ...
> }



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message