Interface HttpResponse

All Superinterfaces:
org.camunda.connect.spi.CloseableConnectorResponse, org.camunda.connect.spi.ConnectorResponse
All Known Implementing Classes:
HttpResponseImpl

public interface HttpResponse extends org.camunda.connect.spi.CloseableConnectorResponse
  • Field Details

  • Method Details

    • getStatusCode

      Integer getStatusCode()
      Returns:
      the HTTP status code of the response
    • getResponse

      String getResponse()
      Returns:
      the response body or null if non exists
    • getHeaders

      Map<String,String> getHeaders()
      Returns:
      the response headers
    • getHeader

      String getHeader(String field)
      Returns:
      return the response header value for the given field or null if not set