Uploaded image for project: 'Chemistry (Retired)'
  1. Chemistry (Retired)
  2. CMIS-736

Need to add custom HTTP request properties

    XMLWordPrintableJSON

Details

    • Wish
    • Status: Resolved
    • Minor
    • Resolution: Implemented
    • OpenCMIS 0.10.0
    • None
    • None

    Description

      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) {
      ...
      }

      Attachments

        Activity

          People

            fmui Florian Müller
            reynard Derrick Brooks
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: