| Modifier and Type | Method and Description |
|---|---|
protected IBoxJSONParser |
BoxClient.createJSONParser(IBoxResourceHub resourceHub)
Create a json parser.
|
IBoxJSONParser |
BoxClient.getJSONParser() |
| Constructor and Description |
|---|
BoxClient(String clientId,
String clientSecret,
IBoxResourceHub hub,
IBoxJSONParser parser) |
BoxClient(String clientId,
String clientSecret,
IBoxResourceHub hub,
IBoxJSONParser parser,
int maxConnection,
int maxConnectionPerRoute,
long timePeriodCleanUpIdleConnection,
long idleTimeThreshold)
This constructor has some connection parameters.
|
| Constructor and Description |
|---|
OAuthDataMessage(BoxOAuthToken oauthData,
IBoxJSONParser parser,
IBoxResourceHub hub)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
BoxFileDownload.execute(IBoxRequestAuth auth,
File destination,
IBoxJSONParser parser,
BoxDefaultRequestObject requestObject)
Execute a download.
|
InputStream |
BoxFileDownload.execute(IBoxRequestAuth auth,
IBoxJSONParser parser,
BoxDefaultRequestObject requestObject)
Execute the download and return the raw InputStream.
|
void |
BoxFileDownload.execute(IBoxRequestAuth auth,
OutputStream[] outputStreams,
IBoxJSONParser parser,
BoxDefaultRequestObject requestObject)
Execute a download.
|
| Modifier and Type | Method and Description |
|---|---|
BoxResourceManager |
IPluginResourceManagerBuilder.build(IBoxConfig config,
IBoxResourceHub resourceHub,
IBoxJSONParser parser,
IBoxRequestAuth auth,
IBoxRESTClient restClient) |
String |
IBoxJSONStringEntity.toJSONString(IBoxJSONParser parser)
Convert to JSON String.
|
| Modifier and Type | Method and Description |
|---|---|
String |
PairArrayJSONStringEntity.toJSONString(IBoxJSONParser parser) |
String |
MapJSONStringEntity.toJSONString(IBoxJSONParser parser) |
String |
DefaultJSONStringEntity.toJSONString(IBoxJSONParser parser) |
| Modifier and Type | Class and Description |
|---|---|
class |
BoxJSONParser
The json parser class wrapping Jackson JSON parser.
|
| Modifier and Type | Method and Description |
|---|---|
IBoxJSONParser |
BoxDefaultRequestObject.getJSONParser() |
| Modifier and Type | Method and Description |
|---|---|
void |
BoxDefaultRequestObject.setJSONParser(IBoxJSONParser parser) |
static BoxFileUploadRequestObject |
BoxFileUploadRequestObject.uploadFileRequestObject(String parentId,
String fileName,
File file,
IBoxJSONParser parser)
BoxFileUploadRequestObject for upload file request.
|
| Modifier and Type | Method and Description |
|---|---|
IBoxJSONParser |
BoxResourceManager.getJSONParser() |
| Modifier and Type | Method and Description |
|---|---|
Object |
BoxResourceManager.getResponseAndParse(DefaultBoxRequest request,
IBoxType type,
IBoxJSONParser parser)
Make a rest api request, get response, and then parse the response.
|
Object |
BoxResourceManager.getResponseAndParseAndTryCast(DefaultBoxRequest request,
IBoxType type,
IBoxJSONParser parser)
Make a rest api request, get response, parse the response, and try to cast parsed out object into expected object.
|
| Constructor and Description |
|---|
BoxObjectResponseParser(Class cls,
IBoxJSONParser parser)
Constructor.
|
ErrorResponseParser(IBoxJSONParser parser) |
| Constructor and Description |
|---|
DefaultBoxRequest(IBoxConfig config,
IBoxJSONParser parser,
String uriPath,
RestMethod restMethod,
BoxDefaultRequestObject requestObject)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
IBoxJSONParser |
DefaultBoxJSONResponseParser.getParser() |
| Constructor and Description |
|---|
DefaultBoxJSONResponseParser(Class objectClass,
IBoxJSONParser parser)
Constructor.
|
Copyright © 2014. All Rights Reserved.