Interface IntegrationKeyExtractor
- All Known Implementing Classes:
IntegrationKeyExtractorTemplate,JsonIntegrationKeyExtractor,XmlIntegrationKeyExtractor
public interface IntegrationKeyExtractor
Extracts the integrationKey value from the
ODataResponse-
Method Summary
Modifier and TypeMethodDescriptionextractIntegrationKey(String responseBody, int statusCode) Gets the integrationKey value from theODataResponsebooleanisApplicable(String contentType) Indicates whether this IntegrationKeyExtractor is applicable to the givenODataResponse
-
Method Details
-
isApplicable
Indicates whether this IntegrationKeyExtractor is applicable to the givenODataResponse- Parameters:
contentType- content type of the response- Returns:
- true if can extract, otherwise false
-
extractIntegrationKey
Gets the integrationKey value from theODataResponse- Parameters:
responseBody- Response body to extract the integrationKey value fromstatusCode- status code of the response- Returns:
- integrationKey value
-