public interface IEntityReferenceRequest extends IHttpRequest
Modifier and Type | Method and Description |
---|---|
Entity |
delete() |
void |
delete(ICallback<Entity> callback) |
IEntityReferenceRequest |
expand(java.lang.String value)
Sets the expand clause for the request
|
Entity |
put(Entity srcEntity)
Puts the Entity
|
void |
put(Entity srcEntity,
ICallback<Entity> callback)
Puts the Entity
|
IEntityReferenceRequest |
select(java.lang.String value)
Sets the select clause for the request
|
addHeader, getHeaders, getHttpMethod, getOptions, getRequestUrl, getUseCaches, setUseCaches
Entity delete() throws ClientException
ClientException
IEntityReferenceRequest select(java.lang.String value)
value
- the select clauseIEntityReferenceRequest expand(java.lang.String value)
value
- the expand clausevoid put(Entity srcEntity, ICallback<Entity> callback)
srcEntity
- the Entity to PUTcallback
- the callback to be called after success or failureEntity put(Entity srcEntity) throws ClientException
srcEntity
- the Entity to PUTClientException
- an exception occurs if there was an error while the request was sent