@Beta public class ODataRequestDelete extends ODataRequestGeneric
DEFAULT_FORMAT
Constructor and Description |
---|
ODataRequestDelete(String servicePath,
String entityName,
String entityKey,
String versionIdentifier,
ODataProtocol protocol)
Default constructor for OData Delete request.
|
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 |
getServicePath() |
String |
getVersionIdentifier() |
int |
hashCode() |
addHeader, addHeaderIfAbsent, addListener, addQueryParameter, getHeaders, getListeners, getProtocol, getQueryParameters, getRequestQuery, setCsrfTokenRetriever, setResponseFormat
public ODataRequestDelete(@Nonnull String servicePath, @Nonnull String entityName, @Nonnull String entityKey, @Nullable String versionIdentifier, @Nonnull ODataProtocol protocol)
servicePath
- The OData service path.entityName
- The entity name.entityKey
- The entity key.versionIdentifier
- The version identifier.protocol
- The OData protocol to use.@Nonnull public URI getRelativeUri()
ODataRequestGeneric
getRelativeUri
in class ODataRequestGeneric
@Nonnull public ODataRequestResultGeneric execute(@Nonnull org.apache.http.client.HttpClient httpClient)
ODataRequestExecutable
httpClient
- The HttpClient.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
Copyright © 2020 SAP SE. All rights reserved.