@Beta public class ODataRequestCreate extends ODataRequestGeneric
csrfTokenRetriever, resourcePath, servicePath| Constructor and Description |
|---|
ODataRequestCreate(String servicePath,
ODataResourcePath entityPath,
String serializedEntity,
ODataProtocol protocol)
Default constructor for OData Create request.
|
ODataRequestCreate(String servicePath,
String entityName,
String serializedEntity,
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()
Get the static request URI of the OData resource.
|
String |
getSerializedEntity() |
int |
hashCode() |
addHeader, addHeaderIfAbsent, addListener, addQueryParameter, getHeaders, getListeners, getProtocol, getQueryParameters, getRequestQuery, getResourcePath, getServicePath, setCsrfTokenRetriever, tryExecute, tryExecuteWithCsrfTokenpublic ODataRequestCreate(@Nonnull String servicePath, @Nonnull String entityName, @Nonnull String serializedEntity, @Nonnull ODataProtocol protocol)
ODataRequestCreate(String, ODataResourcePath, String, ODataProtocol).servicePath - The OData service path.entityName - The OData entity name.serializedEntity - The serialized query payload.protocol - The OData protocol to use.public ODataRequestCreate(@Nonnull String servicePath, @Nonnull ODataResourcePath entityPath, @Nonnull String serializedEntity, @Nonnull ODataProtocol protocol)
servicePath - The OData service path.entityPath - The path to the OData entity.serializedEntity - The serialized query payload.protocol - The OData protocol to use.@Nonnull public URI getRelativeUri()
ODataRequestGenericgetRelativeUri in class ODataRequestGeneric@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 © 2021 SAP SE. All rights reserved.