@Beta public class ODataRequestUpdate extends ODataRequestGeneric
DEFAULT_FORMAT
Constructor and Description |
---|
ODataRequestUpdate(String servicePath,
String entityName,
String entityKey,
String serializedEntity,
UpdateStrategy updateStrategy,
String versionIdentifier,
ODataProtocol protocol) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
ODataRequestResultGeneric |
execute(org.apache.http.client.HttpClient httpClient)
Execute the OData request with the provided HttpClient reference.
|
String |
getEntityKey() |
String |
getEntityName() |
URI |
getRelativeUri()
Get the static request URI of the OData resource.
|
String |
getSerializedEntity() |
String |
getServicePath() |
UpdateStrategy |
getUpdateStrategy()
The
UpdateStrategy determines if the entity will be changed or replaced. |
String |
getVersionIdentifier() |
int |
hashCode() |
void |
setUpdateStrategy(UpdateStrategy updateStrategy)
The
UpdateStrategy determines if the entity will be changed or replaced. |
addHeader, addHeaderIfAbsent, addListener, addQueryParameter, getHeaders, getListeners, getProtocol, getQueryParameters, getRequestQuery, setCsrfTokenRetriever, setResponseFormat
@Nonnull public URI getRelativeUri()
ODataRequestGeneric
getRelativeUri
in class ODataRequestGeneric
@Nonnull public ODataRequestResultGeneric execute(@Nonnull org.apache.http.client.HttpClient httpClient)
ODataRequestExecutable
httpClient
- The HttpClient.@Nonnull public UpdateStrategy getUpdateStrategy()
UpdateStrategy
determines if the entity will be changed or replaced.public boolean equals(Object o)
equals
in class ODataRequestGeneric
protected boolean canEqual(Object other)
canEqual
in class ODataRequestGeneric
public int hashCode()
hashCode
in class ODataRequestGeneric
public void setUpdateStrategy(@Nonnull UpdateStrategy updateStrategy)
UpdateStrategy
determines if the entity will be changed or replaced.Copyright © 2020 SAP SE. All rights reserved.