@Beta public class ODataRequestDelete extends ODataRequestGeneric
csrfTokenRetriever, resourcePath, servicePath| Constructor and Description |
|---|
ODataRequestDelete(String servicePath,
ODataResourcePath entityPath,
String versionIdentifier,
ODataProtocol protocol)
Default constructor for OData delete requests.
|
ODataRequestDelete(String servicePath,
String entityName,
ODataEntityKey entityKey,
String versionIdentifier,
ODataProtocol protocol)
Convenience constructor for OData delete requests on entity collections directly.
|
| 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.
|
URI |
getRelativeUri(UriEncodingStrategy strategy)
Get the static request URI of the OData resource.
|
String |
getVersionIdentifier() |
int |
hashCode() |
addHeader, addHeaderIfAbsent, addListener, addQueryParameter, getHeaders, getListeners, getProtocol, getQueryParameters, getRelativeUri, getRequestQuery, getResourcePath, getServicePath, setCsrfTokenRetriever, tryExecute, tryExecuteWithCsrfTokenpublic ODataRequestDelete(@Nonnull String servicePath, @Nonnull String entityName, @Nonnull ODataEntityKey entityKey, @Nullable String versionIdentifier, @Nonnull ODataProtocol protocol)
ODataRequestDelete(String, String, ODataEntityKey, String, ODataProtocol).servicePath - The OData service path.entityName - The name of the entity to delete.entityKey - The entity key that identifies the entity to delete.versionIdentifier - The version identifier.protocol - The OData protocol to use.public ODataRequestDelete(@Nonnull String servicePath, @Nonnull ODataResourcePath entityPath, @Nullable String versionIdentifier, @Nonnull ODataProtocol protocol)
servicePath - The OData service path.entityPath - The ODataResourcePath that identifies the entity to delete.versionIdentifier - The version identifier.protocol - The OData protocol to use.@Nonnull public URI getRelativeUri(@Nonnull UriEncodingStrategy strategy)
ODataRequestGenericgetRelativeUri in class ODataRequestGenericstrategy - URI encoding strategy.@Nonnull public ODataRequestResultGeneric execute(@Nonnull org.apache.http.client.HttpClient httpClient)
ODataRequestExecutablehttpClient - The HttpClient.public boolean equals(@Nullable Object o)
equals in class ODataRequestGenericprotected boolean canEqual(@Nullable Object other)
canEqual in class ODataRequestGenericpublic int hashCode()
hashCode in class ODataRequestGenericCopyright © 2022 SAP SE. All rights reserved.