@Beta public class ODataRequestReadByKey extends ODataRequestGeneric
DEFAULT_FORMAT
Constructor and Description |
---|
ODataRequestReadByKey(String servicePath,
String entityName,
String entityKey,
String queryString) |
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() |
String |
getFullQueryString()
Get the string representation of the (almost) full HTTP query including service path, entity, parameters and
headers.
|
String |
getQueryString() |
String |
getRequestQuery()
Use all OData query information to construct a HTTP request query String.
|
protected URI |
getRequestUri()
Get the static request URI of the OData resource.
|
String |
getServicePath() |
int |
hashCode() |
String |
toString() |
addHeader, addHeaderIfAbsent, addListener, addQueryParameter, getHeaders, getListeners, getQueryParameters, setResponseFormat
@Nonnull protected URI getRequestUri()
ODataRequestGeneric
getRequestUri
in class ODataRequestGeneric
@Nonnull public String getRequestQuery()
getRequestQuery
in class ODataRequestGeneric
@Nonnull public String getFullQueryString()
@Nonnull public ODataRequestResultGeneric execute(@Nonnull org.apache.http.client.HttpClient httpClient)
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.