Interface IntegrationKeyExtractor

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.lang.String extractIntegrationKey​(java.lang.String responseBody, int statusCode)
      Gets the integrationKey value from the ODataResponse
      boolean isApplicable​(java.lang.String contentType)
      Indicates whether this IntegrationKeyExtractor is applicable to the given ODataResponse
    • Method Detail

      • isApplicable

        boolean isApplicable​(java.lang.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

        java.lang.String extractIntegrationKey​(java.lang.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