Interface IntegrationKeyExtractor
-
- All Known Implementing Classes:
IntegrationKeyExtractorTemplate,JsonIntegrationKeyExtractor,XmlIntegrationKeyExtractor
public interface IntegrationKeyExtractorExtracts the integrationKey value from theODataResponse
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringextractIntegrationKey(java.lang.String responseBody, int statusCode)Gets the integrationKey value from theODataResponsebooleanisApplicable(java.lang.String contentType)Indicates whether this IntegrationKeyExtractor is applicable to the givenODataResponse
-
-
-
Method Detail
-
isApplicable
boolean isApplicable(java.lang.String contentType)
Indicates whether this IntegrationKeyExtractor is applicable to the givenODataResponse- 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 theODataResponse- Parameters:
responseBody- Response body to extract the integrationKey value fromstatusCode- status code of the response- Returns:
- integrationKey value
-
-