Class ODataRequestResultResource
java.lang.Object
com.sap.cloud.sdk.datamodel.odata.client.request.ODataRequestResultGeneric
com.sap.cloud.sdk.datamodel.odata.client.request.ODataRequestResultResource
- All Implemented Interfaces:
ODataRequestResult,ODataRequestResultDeserializable,ODataRequestResultPagination,AutoCloseable,Iterable<ResultElement>
@Beta
public class ODataRequestResultResource
extends ODataRequestResultGeneric
implements AutoCloseable
OData request result for reading entities. The request is not yet closed. The response is not consumed. The
connection is not yet released.
Note: This class implements AutoCloseable and should be closed after use to ensure that the underlying
connection is released.
Note: This class is not thread-safe. The HTTP response object should not be consumed by multiple threads at the same time.
- Since:
- 5.21.0
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceInterface for executing OData requests that return a resource which must be closed. -
Method Summary
Methods inherited from class com.sap.cloud.sdk.datamodel.odata.client.request.ODataRequestResultGeneric
as, as, asList, asListOfMaps, asMap, disableBufferingHttpResponse, getDeltaLink, getHttpResponse, getInlineCount, getNextLink, getODataRequest, getStatusLine, getVersionIdentifierFromHeader, hasPayload, iterator, streamElements, tryGetNextPage, withNumberDeserializationStrategyMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliteratorMethods inherited from interface com.sap.cloud.sdk.datamodel.odata.client.request.ODataRequestResult
getAllHeaderValues, getHeaderNames, getHeaderValuesMethods inherited from interface com.sap.cloud.sdk.datamodel.odata.client.request.ODataRequestResultPagination
iteratePages
-
Method Details
-
close
public void close()- Specified by:
closein interfaceAutoCloseable
-
equals
- Overrides:
equalsin classODataRequestResultGeneric
-
canEqual
- Overrides:
canEqualin classODataRequestResultGeneric
-
hashCode
public int hashCode()- Overrides:
hashCodein classODataRequestResultGeneric
-