Class HttpJsonFunction

java.lang.Object
io.camunda.connector.http.HttpJsonFunction
All Implemented Interfaces:
io.camunda.connector.api.outbound.OutboundConnectorFunction

public class HttpJsonFunction extends Object implements io.camunda.connector.api.outbound.OutboundConnectorFunction
  • Constructor Details

    • HttpJsonFunction

      public HttpJsonFunction()
    • HttpJsonFunction

      public HttpJsonFunction(com.google.gson.Gson gson, com.google.api.client.http.HttpRequestFactory requestFactory, com.google.api.client.json.gson.GsonFactory gsonFactory)
  • Method Details

    • execute

      public Object execute(io.camunda.connector.api.outbound.OutboundConnectorContext context) throws IOException
      Specified by:
      execute in interface io.camunda.connector.api.outbound.OutboundConnectorFunction
      Throws:
      IOException
    • handleRequest

      protected HttpJsonResult handleRequest(HttpJsonRequest request) throws IOException
      Throws:
      IOException
    • sendRequest

      protected com.google.api.client.http.HttpResponse sendRequest(com.google.api.client.http.HttpRequest request) throws IOException
      Throws:
      IOException