public class ODataRequestResultMultipartGeneric extends Object implements ODataRequestResultMultipart, ODataRequestResult
| Modifier and Type | Method and Description |
|---|---|
List<List<org.apache.http.HttpResponse>> |
getBatchedResponses()
Get the multi-part segments as raw HTTP response object.
|
org.apache.http.HttpResponse |
getHttpResponse()
Get the original OData
HttpResponse instance, which holds the HttpEntity and header information. |
ODataRequestBatch |
getODataRequest()
Get the original
batch request that was used for running the OData request. |
ODataRequestResultGeneric |
getResult(ODataRequestGeneric request)
Get the result from the OData batch response for a specific sub-request.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetAllHeaderValues, getHeaderNames, getHeaderValues@Nonnull public ODataRequestBatch getODataRequest()
batch request that was used for running the OData request.getODataRequest in interface ODataRequestResult@Nonnull public ODataRequestResultGeneric getResult(@Nonnull ODataRequestGeneric request) throws ODataResponseException, IllegalArgumentException
ODataRequestResultMultipartgetResult in interface ODataRequestResultMultipartrequest - The request to look for in the OData batch response.ODataResponseException - When the OData batch response cannot be parsed or HTTP response is not healthy.IllegalArgumentException - When the provided request reference could not be found in the original batch request.ODataServiceErrorException - When the response contains an OData error message according to specification.@Nonnull public List<List<org.apache.http.HttpResponse>> getBatchedResponses()
@Nonnull public org.apache.http.HttpResponse getHttpResponse()
ODataRequestResultHttpResponse instance, which holds the HttpEntity and header information.getHttpResponse in interface ODataRequestResultCopyright © 2022 SAP SE. All rights reserved.