@Beta public class ODataRequestAction extends ODataRequestGeneric
csrfTokenRetriever, resourcePath, servicePath| Constructor and Description |
|---|
ODataRequestAction(String servicePath,
ODataResourcePath actionPath,
String actionParameters,
ODataProtocol protocol)
Default constructor for OData Action request.
|
ODataRequestAction(String servicePath,
String actionName,
String actionParameters,
ODataProtocol protocol)
Convenience constructor for invocations of unbound actions.
|
| 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 |
getActionParameters() |
URI |
getRelativeUri()
Get the static request URI of the OData resource.
|
int |
hashCode() |
addHeader, addHeaderIfAbsent, addListener, addQueryParameter, getHeaders, getListeners, getProtocol, getQueryParameters, getRequestQuery, getResourcePath, getServicePath, setCsrfTokenRetriever, tryExecute, tryExecuteWithCsrfTokenpublic ODataRequestAction(@Nonnull String servicePath, @Nonnull String actionName, @Nullable String actionParameters, @Nonnull ODataProtocol protocol)
ODataRequestAction(String, ODataResourcePath, String, ODataProtocol).servicePath - The OData service path.actionName - The action name.actionParameters - Optional: The action parameters HTTP payload.protocol - The OData protocol to use.public ODataRequestAction(@Nonnull String servicePath, @Nonnull ODataResourcePath actionPath, @Nullable String actionParameters, @Nonnull ODataProtocol protocol)
servicePath - The OData service path.actionPath - The path identifying the action. In case of an unbound
action this is simply the action name. If this is a bound action the path must also
contain the full path to the action.actionParameters - Optional: The action parameters HTTP payload.protocol - The OData protocol to use.@Nonnull public URI getRelativeUri()
getRelativeUri in class ODataRequestGeneric@Nonnull public ODataRequestResultGeneric execute(@Nonnull org.apache.http.client.HttpClient httpClient)
httpClient - 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.