Class HttpRequestInvocation

  • All Implemented Interfaces:
    org.camunda.connect.spi.ConnectorInvocation

    public class HttpRequestInvocation
    extends org.camunda.connect.impl.AbstractRequestInvocation<org.apache.http.client.methods.HttpRequestBase>
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected org.apache.http.client.HttpClient client  
      • Fields inherited from class org.camunda.connect.impl.AbstractRequestInvocation

        currentIndex, interceptorChain, request, target
    • Constructor Summary

      Constructors 
      Constructor Description
      HttpRequestInvocation​(org.apache.http.client.methods.HttpRequestBase target, org.camunda.connect.spi.ConnectorRequest<?> request, java.util.List<org.camunda.connect.spi.ConnectorRequestInterceptor> interceptorChain, org.apache.http.client.HttpClient client)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Object invokeTarget()  
      • Methods inherited from class org.camunda.connect.impl.AbstractRequestInvocation

        getRequest, getTarget, proceed
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • client

        protected org.apache.http.client.HttpClient client
    • Constructor Detail

      • HttpRequestInvocation

        public HttpRequestInvocation​(org.apache.http.client.methods.HttpRequestBase target,
                                     org.camunda.connect.spi.ConnectorRequest<?> request,
                                     java.util.List<org.camunda.connect.spi.ConnectorRequestInterceptor> interceptorChain,
                                     org.apache.http.client.HttpClient client)
    • Method Detail

      • invokeTarget

        public java.lang.Object invokeTarget()
                                      throws java.lang.Exception
        Specified by:
        invokeTarget in class org.camunda.connect.impl.AbstractRequestInvocation<org.apache.http.client.methods.HttpRequestBase>
        Throws:
        java.lang.Exception