Class ActionResponseCollection<ResultT>
java.lang.Object
com.sap.cloud.sdk.datamodel.odatav4.core.ActionResponseCollection<ResultT>
- Type Parameters:
ResultT
- The generic result type.
Generic OData service response wrapper for action requests.
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Get the response headers.Get the optional result parsed by the HTTP content.int
Get the response status code.int
hashCode()
static <ResultT> ActionResponseCollection<ResultT>
of
(ODataRequestResultGeneric result, Class<ResultT> actionResultClass) toString()
-
Method Details
-
getResponseResult
Get the optional result parsed by the HTTP content.- Returns:
- The optional result entity.
-
getResponseStatusCode
public int getResponseStatusCode()Get the response status code.- Returns:
- The integer representation of the HTTP status code.
-
getResponseHeaders
Get the response headers.- Returns:
- The headers of the HTTP status code.
-
equals
-
hashCode
public int hashCode() -
toString
-
of
@Nonnull public static <ResultT> ActionResponseCollection<ResultT> of(@Nonnull ODataRequestResultGeneric result, @Nonnull Class<ResultT> actionResultClass) -
getActionResultClass
-