@Beta public class ODataRequestAction extends ODataRequestGeneric
DEFAULT_FORMAT
Constructor and Description |
---|
ODataRequestAction(String servicePath,
String actionName,
String actionParameters,
ODataProtocol protocol)
Default constructor for OData Action 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 |
getActionName() |
String |
getActionParameters() |
URI |
getRelativeUri()
Get the static request URI of the OData resource.
|
String |
getServicePath() |
int |
hashCode() |
addHeader, addHeaderIfAbsent, addListener, addQueryParameter, getHeaders, getListeners, getProtocol, getQueryParameters, getRequestQuery, setCsrfTokenRetriever, setResponseFormat
public ODataRequestAction(@Nonnull String servicePath, @Nonnull String actionName, @Nonnull String actionParameters, @Nonnull ODataProtocol protocol)
servicePath
- The OData service path.actionName
- The OData action name.actionParameters
- 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 ODataRequestGeneric
protected boolean canEqual(@Nullable Object other)
canEqual
in class ODataRequestGeneric
public int hashCode()
hashCode
in class ODataRequestGeneric
Copyright © 2020 SAP SE. All rights reserved.