public class PostTransaction extends ResourceTransaction
Constructor and Description |
---|
PostTransaction(Resources resource) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getBody()
Returns the body to send in the transaction.
|
java.lang.String |
getURL(ServiceSpec service)
Implemented to provide URL.
|
void |
setObject(JSONObject object)
Set the object to put, as a JSONObject.
|
getResult
execute, getError, getException, getResponseCode
public PostTransaction(Resources resource)
public void setObject(JSONObject object)
object
- public java.lang.String getURL(ServiceSpec service)
Transaction
service
- ServiceSpec holding service/session datapublic java.lang.String getBody()
Transaction