public class BoxDefaultRequestObject extends Object implements IBoxRequestObject
| Constructor and Description |
|---|
BoxDefaultRequestObject() |
| Modifier and Type | Method and Description |
|---|---|
Object |
getFromEntity(String key)
Get value from entity.
|
protected MapJSONStringEntity |
getJSONEntity() |
BoxRequestExtras |
getRequestExtras()
a mutator to the request.
|
Object |
put(String key,
Object value)
Add a key value pair to the request body.
|
BoxDefaultRequestObject |
setPage(int limit,
int offset) |
protected MapJSONStringEntity getJSONEntity()
public Object put(String key, Object value)
key - keyvalue - valuepublic 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()
Copyright © 2014. All Rights Reserved.