public class ODataDeleteRequestImpl extends Object implements ODataDeleteRequest
| Modifier and Type | Field and Description |
|---|---|
static String |
ACCEPT_HEADER |
static String |
AUTHORIZATION_HEADER |
static String |
CONTENT_TYPE
Content Type Constants
|
static String |
CONTENTTYPE_ATOM_XML |
| Constructor and Description |
|---|
ODataDeleteRequestImpl(String serviceName,
String entitySetName,
Map<String,Object> keys,
ErrorResultHandler<?> errorHandler,
Map<String,String> headers,
Map<String,String> destinationRelevantHeaders,
boolean metadataCache2,
URL metadataFilePath,
com.sap.cloud.sdk.cloudplatform.cache.CacheKey cacheKey,
boolean isCacheRefresh) |
| Modifier and Type | Method and Description |
|---|---|
ODataDeleteResult |
execute(org.apache.http.client.HttpClient providedClient)
Execute the OData Delete request using the HTTP Client supplied by
consumer
|
ODataDeleteResult |
execute(String destinationName)
Executes the OData Delete request represented by this object.
|
ODataDeleteResult |
execute(com.sap.cloud.sdk.cloudplatform.connectivity.WithDestinationName withDestinationName)
Executes the OData delete request represented by this object.
|
String |
toString() |
public static final String AUTHORIZATION_HEADER
public static final String CONTENT_TYPE
public static final String ACCEPT_HEADER
public static final String CONTENTTYPE_ATOM_XML
public ODataDeleteRequestImpl(String serviceName, String entitySetName, Map<String,Object> keys, ErrorResultHandler<?> errorHandler, Map<String,String> headers, Map<String,String> destinationRelevantHeaders, boolean metadataCache2, URL metadataFilePath, com.sap.cloud.sdk.cloudplatform.cache.CacheKey cacheKey, boolean isCacheRefresh)
public ODataDeleteResult execute(String destinationName) throws ODataException
ODataDeleteRequestexecute in interface ODataDeleteRequestODataExceptionpublic ODataDeleteResult execute(com.sap.cloud.sdk.cloudplatform.connectivity.WithDestinationName withDestinationName) throws ODataException
ODataDeleteRequestexecute in interface ODataDeleteRequestODataExceptionpublic ODataDeleteResult execute(org.apache.http.client.HttpClient providedClient) throws ODataException
ODataDeleteRequestexecute in interface ODataDeleteRequestprovidedClient - HTTP Client provided by the consumer of the APIODataExceptionCopyright © 2020 SAP. All Rights Reserved.