Class CmisHttpInvoker

  • All Implemented Interfaces:
    AutoCloseable, org.apache.chemistry.opencmis.client.bindings.spi.http.HttpInvoker

    public class CmisHttpInvoker
    extends Object
    implements org.apache.chemistry.opencmis.client.bindings.spi.http.HttpInvoker, AutoCloseable
    • Constructor Summary

      Constructors 
      Constructor Description
      CmisHttpInvoker()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void close()  
      protected CmisHttpSender createSender()  
      org.apache.chemistry.opencmis.client.bindings.spi.http.Response invokeDELETE​(org.apache.chemistry.opencmis.commons.impl.UrlBuilder url, org.apache.chemistry.opencmis.client.bindings.spi.BindingSession session)  
      org.apache.chemistry.opencmis.client.bindings.spi.http.Response invokeGET​(org.apache.chemistry.opencmis.commons.impl.UrlBuilder url, org.apache.chemistry.opencmis.client.bindings.spi.BindingSession session)  
      org.apache.chemistry.opencmis.client.bindings.spi.http.Response invokeGET​(org.apache.chemistry.opencmis.commons.impl.UrlBuilder url, org.apache.chemistry.opencmis.client.bindings.spi.BindingSession session, BigInteger offset, BigInteger length)  
      org.apache.chemistry.opencmis.client.bindings.spi.http.Response invokePOST​(org.apache.chemistry.opencmis.commons.impl.UrlBuilder url, String contentType, org.apache.chemistry.opencmis.client.bindings.spi.http.Output writer, org.apache.chemistry.opencmis.client.bindings.spi.BindingSession session)  
      org.apache.chemistry.opencmis.client.bindings.spi.http.Response invokePUT​(org.apache.chemistry.opencmis.commons.impl.UrlBuilder url, String contentType, Map<String,​String> headers, org.apache.chemistry.opencmis.client.bindings.spi.http.Output writer, org.apache.chemistry.opencmis.client.bindings.spi.BindingSession session)  
    • Constructor Detail

      • CmisHttpInvoker

        public CmisHttpInvoker()
    • Method Detail

      • invokeGET

        public org.apache.chemistry.opencmis.client.bindings.spi.http.Response invokeGET​(org.apache.chemistry.opencmis.commons.impl.UrlBuilder url,
                                                                                         org.apache.chemistry.opencmis.client.bindings.spi.BindingSession session)
        Specified by:
        invokeGET in interface org.apache.chemistry.opencmis.client.bindings.spi.http.HttpInvoker
      • invokeGET

        public org.apache.chemistry.opencmis.client.bindings.spi.http.Response invokeGET​(org.apache.chemistry.opencmis.commons.impl.UrlBuilder url,
                                                                                         org.apache.chemistry.opencmis.client.bindings.spi.BindingSession session,
                                                                                         BigInteger offset,
                                                                                         BigInteger length)
        Specified by:
        invokeGET in interface org.apache.chemistry.opencmis.client.bindings.spi.http.HttpInvoker
      • invokePOST

        public org.apache.chemistry.opencmis.client.bindings.spi.http.Response invokePOST​(org.apache.chemistry.opencmis.commons.impl.UrlBuilder url,
                                                                                          String contentType,
                                                                                          org.apache.chemistry.opencmis.client.bindings.spi.http.Output writer,
                                                                                          org.apache.chemistry.opencmis.client.bindings.spi.BindingSession session)
        Specified by:
        invokePOST in interface org.apache.chemistry.opencmis.client.bindings.spi.http.HttpInvoker
      • invokePUT

        public org.apache.chemistry.opencmis.client.bindings.spi.http.Response invokePUT​(org.apache.chemistry.opencmis.commons.impl.UrlBuilder url,
                                                                                         String contentType,
                                                                                         Map<String,​String> headers,
                                                                                         org.apache.chemistry.opencmis.client.bindings.spi.http.Output writer,
                                                                                         org.apache.chemistry.opencmis.client.bindings.spi.BindingSession session)
        Specified by:
        invokePUT in interface org.apache.chemistry.opencmis.client.bindings.spi.http.HttpInvoker
      • invokeDELETE

        public org.apache.chemistry.opencmis.client.bindings.spi.http.Response invokeDELETE​(org.apache.chemistry.opencmis.commons.impl.UrlBuilder url,
                                                                                            org.apache.chemistry.opencmis.client.bindings.spi.BindingSession session)
        Specified by:
        invokeDELETE in interface org.apache.chemistry.opencmis.client.bindings.spi.http.HttpInvoker