public interface InboundRequestErrorParser
InboundRequestError out of an ODataResponse.| Modifier and Type | Method and Description |
|---|---|
boolean |
isApplicable(java.lang.String contentType,
int statusCode)
Indicates whether this InboundRequestErrorParser is applicable to the given
ODataResponse |
InboundRequestErrorModel |
parseErrorFrom(java.lang.String responseBody)
Gets the
InboundRequestError value from the ODataResponse |
boolean isApplicable(java.lang.String contentType,
int statusCode)
ODataResponsecontentType - Response content typestatusCode - response status codeInboundRequestErrorModel parseErrorFrom(java.lang.String responseBody)
InboundRequestError value from the ODataResponseresponseBody - Response body to extract the error fromInboundRequestModelCopyright © 2018 SAP SE. All Rights Reserved.