Interface IntegrationKeyExtractor

All Known Implementing Classes:
IntegrationKeyExtractorTemplate, JsonIntegrationKeyExtractor, XmlIntegrationKeyExtractor

public interface IntegrationKeyExtractor
Extracts the integrationKey value from the ODataResponse
  • Method Summary

    Modifier and Type
    Method
    Description
    extractIntegrationKey(String responseBody, int statusCode)
    Gets the integrationKey value from the ODataResponse
    boolean
    isApplicable(String contentType)
    Indicates whether this IntegrationKeyExtractor is applicable to the given ODataResponse
  • Method Details

    • isApplicable

      boolean isApplicable(String contentType)
      Indicates whether this IntegrationKeyExtractor is applicable to the given ODataResponse
      Parameters:
      contentType - content type of the response
      Returns:
      true if can extract, otherwise false
    • extractIntegrationKey

      String extractIntegrationKey(String responseBody, int statusCode)
      Gets the integrationKey value from the ODataResponse
      Parameters:
      responseBody - Response body to extract the integrationKey value from
      statusCode - status code of the response
      Returns:
      integrationKey value