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.
  • Constructor Details

    • FluentHelperModification

      public FluentHelperModification(@Nonnull String servicePath, @Nullable String entityCollection)
      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

      @Nonnull public FluentHelperT 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