public class BoxDefaultRequestObject extends java.lang.Object implements IBoxRequestObject
| Constructor and Description |
|---|
BoxDefaultRequestObject() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
getFromEntity(java.lang.String key)
Get value from entity.
|
protected MapJSONStringEntity |
getJSONEntity() |
BoxRequestExtras |
getRequestExtras()
a mutator to the request.
|
java.lang.Object |
put(java.lang.String key,
java.lang.Object value)
Add a key value pair to the request body.
|
BoxDefaultRequestObject |
setPage(int limit,
int offset) |
protected MapJSONStringEntity getJSONEntity()
public java.lang.Object put(java.lang.String key,
java.lang.Object value)
key - keyvalue - valuepublic java.lang.Object getFromEntity(java.lang.String key)
public BoxDefaultRequestObject setPage(int limit, int offset)
limit - the number of items to return. default is 100, max is 1000.offset - the item at which to begin the response, default is 0.public BoxRequestExtras getRequestExtras()