public class PreExtensionResponseBuilderWithBody extends Object
| Constructor and Description |
|---|
PreExtensionResponseBuilderWithBody() |
PreExtensionResponseBuilderWithBody(EntityData entityData) |
| Modifier and Type | Method and Description |
|---|---|
PreExtensionResponseWithBody |
response()
Use this method in a BeforeCreate or BeforeUpdate handler to return a response object in the event of a successful execution.
|
PreExtensionResponseBuilderWithBody |
setData(Object pojoData)
Use this method to add the modified request body of the current Create/Update request represented as a POJO.
|
PreExtensionResponseBuilderWithBody |
setEntityData(EntityData entityData)
Use this method to add the modified request body of the current Create/Update request represented as an EntityData object.
|
public PreExtensionResponseBuilderWithBody(EntityData entityData)
public PreExtensionResponseBuilderWithBody()
public PreExtensionResponseWithBody response()
public PreExtensionResponseBuilderWithBody setEntityData(EntityData entityData)
entityData - the entityData object that represents the modified request body.public PreExtensionResponseBuilderWithBody setData(Object pojoData)
pojoData - the POJO that represents the modified request body.Copyright © 2020 SAP. All Rights Reserved.