Class XmlIntegrationKeyExtractor
java.lang.Object
de.hybris.platform.odata2services.odata.monitoring.impl.IntegrationKeyExtractorTemplate
de.hybris.platform.odata2services.odata.monitoring.impl.XmlIntegrationKeyExtractor
- All Implemented Interfaces:
IntegrationKeyExtractor
This
IntegrationKeyExtractor extracts the integration key value from a XML response-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected StringextractIntegrationKeyFromNonEmptyBody(String responseBody, int statusCode) Extracts integration key from the response body in a way specific to the implemenation.booleanisApplicable(String contentType) Indicates whether this IntegrationKeyExtractor is applicable to the givenODataResponseMethods inherited from class de.hybris.platform.odata2services.odata.monitoring.impl.IntegrationKeyExtractorTemplate
decode, extractIntegrationKey
-
Constructor Details
-
XmlIntegrationKeyExtractor
public XmlIntegrationKeyExtractor()
-
-
Method Details
-
isApplicable
Description copied from interface:IntegrationKeyExtractorIndicates whether this IntegrationKeyExtractor is applicable to the givenODataResponse- Parameters:
contentType- content type of the response- Returns:
- true if can extract, otherwise false
-
extractIntegrationKeyFromNonEmptyBody
Description copied from class:IntegrationKeyExtractorTemplateExtracts integration key from the response body in a way specific to the implemenation.- Specified by:
extractIntegrationKeyFromNonEmptyBodyin classIntegrationKeyExtractorTemplate- Parameters:
responseBody- response body to be parsed.statusCode- status code of the response.- Returns:
- integration key value.
-