Class FluentHelperModification<FluentHelperT,EntityT extends VdmEntity<?>>
java.lang.Object
com.sap.cloud.sdk.datamodel.odata.helper.FluentHelperBasic<FluentHelperT,EntityT,ModificationResponse<EntityT>>
com.sap.cloud.sdk.datamodel.odata.helper.FluentHelperModification<FluentHelperT,EntityT>
- Type Parameters:
FluentHelperT
- The fluent helper type.EntityT
- The type of the entity this OData request operates on, if any.
- All Implemented Interfaces:
FluentHelperExecutable<Object>
- Direct Known Subclasses:
FluentHelperCreate
,FluentHelperDelete
,FluentHelperUpdate
public abstract class FluentHelperModification<FluentHelperT,EntityT extends VdmEntity<?>>
extends FluentHelperBasic<FluentHelperT,EntityT,ModificationResponse<EntityT>>
Representation of an OData modification request (Create, Update, Delete) as a fluent interface for further
configuring the request and
executing
it.-
Field Summary
Fields inherited from class com.sap.cloud.sdk.datamodel.odata.helper.FluentHelperBasic
csrfTokenRetriever, entityCollection
-
Constructor Summary
ConstructorDescriptionFluentHelperModification
(String servicePath, String entityCollection) Instantiates this fluent helper using the given service path to send the requests. -
Method Summary
Modifier and TypeMethodDescriptionDeactivates the CSRF token retrieval for this OData request.Methods inherited from class com.sap.cloud.sdk.datamodel.odata.helper.FluentHelperBasic
executeRequest, getCsrfTokenRetriever, getEntityClass, getHeaders, getParametersForRequestOnly, getServicePath, getThis, toRequest, withHeader, withHeaders, withQueryParameter
-
Constructor Details
-
FluentHelperModification
Instantiates this fluent helper using the given service path to send the requests.- Parameters:
servicePath
- The service path to direct the requests to.entityCollection
- The entity collection to direct the requests to.
-
-
Method Details
-
withoutCsrfToken
Deactivates the CSRF token retrieval for this OData request. This is useful if the server does not support or require CSRF tokens as part of the request.- Returns:
- The same builder
-