Constructor and Description |
---|
OAuthDataMessage(BoxOAuthToken oauthData,
IBoxJSONParser parser,
IBoxResourceHub hub)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
BoxFolderTest.testParcelRoundTrip() |
Modifier and Type | Method and Description |
---|---|
void |
MultipartEntityWithProgressListener.prepareParts(IBoxJSONParser parser)
Method to put all parts in to the multipart entity.
|
Modifier and Type | Method and Description |
---|---|
void |
SharedLinkRequestObjectTest.testFull() |
void |
MapJSONStringEntityTest.testJson() |
void |
SharedLinkRequestObjectTest.testNoUnsharedAt() |
java.lang.String |
PairArrayJSONStringEntity.toJSONString(IBoxJSONParser parser) |
java.lang.String |
MapJSONStringEntity.toJSONString(IBoxJSONParser parser) |
java.lang.String |
IBoxJSONStringEntity.toJSONString(IBoxJSONParser parser)
Convert to JSON String.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
IBoxJSONParser.convertBoxObjectToJSONString(java.lang.Object object)
Convert the object into String.
|
java.lang.String |
BoxJSONParser.convertBoxObjectToJSONString(java.lang.Object object) |
<T> T |
IBoxJSONParser.parseIntoBoxObject(java.io.InputStream inputStream,
java.lang.Class<T> theClass)
Convert InputStream to object.
|
<T> T |
BoxJSONParser.parseIntoBoxObject(java.io.InputStream inputStream,
java.lang.Class<T> theClass) |
<T> T |
IBoxJSONParser.parseIntoBoxObject(java.lang.String jsonString,
java.lang.Class<T> theClass)
Convert the json string into object.
|
<T> T |
BoxJSONParser.parseIntoBoxObject(java.lang.String jsonString,
java.lang.Class<T> theClass) |
Modifier and Type | Method and Description |
---|---|
void |
BoxItemRestoreRequestObjectTest.testBothParentAndNameInObject() |
void |
BoxCommentRequestObjectTest.testJSONHasAllFields() |
void |
BoxCollaborationRequestObjectTest.testJSONHasAllFields() |
void |
BoxItemRestoreRequestObjectTest.testNameInObject() |
void |
BoxItemRestoreRequestObjectTest.testParentInObject() |
Modifier and Type | Method and Description |
---|---|
protected void |
RequestTestBase.assertEqualStringEntity(BoxDefaultRequestObject obj,
org.apache.http.HttpEntity current) |
protected void |
RequestTestBase.assertEqualStringEntity(IBoxJSONStringEntity expected,
org.apache.http.HttpEntity current) |
void |
UpdateItemInfoRequestTest.testFileRequestIsWellFormed() |
void |
CreateSharedLinkRequestTest.testFileRequestWellFormed() |
void |
CopyItemRequestTest.testFileRequestWellFormed() |
void |
UpdateItemInfoRequestTest.testFolderRequestIsWellFormed() |
void |
CreateSharedLinkRequestTest.testFolderRequestWellFormed() |
void |
CopyItemRequestTest.testFolderRequestWellFormed() |
void |
UpdateUserRequestTest.testRequestIsWellFormed() |
void |
UpdateUserLoginRequestTest.testRequestIsWellFormed() |
void |
UpdateCommentRequestTest.testRequestIsWellFormed() |
void |
MoveFolderToAnotherUserRequestTest.testRequestIsWellFormed() |
void |
CreateNewFolderRequestTest.testRequestIsWellFormed() |
void |
CreateEnterpriseUserRequestTest.testRequestIsWellFormed() |
void |
AddEmailAliasRequestTest.testRequestIsWellFormed() |
void |
UpdateItemInfoRequestTest.testRequestIsWellFormed(BoxResourceType type) |
void |
UploadFileRequestTest.testRequstIsWellFormed()
Test reqeust is well formed.
|
Modifier and Type | Method and Description |
---|---|
void |
BoxObjectResponseParserTest.testCanParseBoxObject() |
void |
ErrorResponseParserTest.testCanParseBoxServerError() |
Modifier and Type | Method and Description |
---|---|
org.apache.http.HttpEntity |
BoxFileUploadRequestObject.getEntity(IBoxJSONParser parser) |
static BoxFileUploadRequestObject |
BoxFileUploadRequestObject.uploadFileRequestObject(java.lang.String parentId,
java.lang.String fileName,
java.io.File file)
BoxFileUploadRequestObject for upload file request.
|
static BoxFileUploadRequestObject |
BoxFileUploadRequestObject.uploadFileRequestObject(java.lang.String parentId,
java.lang.String fileName,
java.io.InputStream inputStream)
BoxFileUploadRequestObject for upload file request.
|
Modifier and Type | Method and Description |
---|---|
protected java.lang.Object |
DefaultBoxJSONResponseParser.parseInputStream(java.io.InputStream in)
Parse input stream.
|