Skip to content

fix: Fixed docs#1142

Merged
antusus merged 4 commits intokb/ok-httpfrom
kb/final_fixes
Jan 11, 2023
Merged

fix: Fixed docs#1142
antusus merged 4 commits intokb/ok-httpfrom
kb/final_fixes

Conversation

@antusus
Copy link
Copy Markdown
Contributor

@antusus antusus commented Jan 10, 2023

No description provided.

with `com.box.sdk.BoxDeveloperEditionAPIConnection#getUserConnection` which also accepts `com.box.sdk.IAccessTokenCache`.

### Example
To create `com.box.sdk.BoxDeveloperEditionAPIConnection` you will need to create something that implements
Copy link
Copy Markdown
Contributor

@lukaszsocha2 lukaszsocha2 Jan 11, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

maybe create a class that implements ;)


### Example
To create `com.box.sdk.BoxDeveloperEditionAPIConnection` you will need to create something that implements
`com.box.sdk.IAccessTokenCache`, for example we are providing simple memory cache solution `com.box.sdk.InMemoryLRUAccessTokenCache`:
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we provide

or `com.box.sdk.BoxFile.getRepresentationContent(java.lang.String, java.lang.String, java.io.OutputStream)`.

### Example
To read the PDF representation of file 12345 into memory
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

with id 12345

@antusus antusus merged commit d608607 into kb/ok-http Jan 11, 2023
@antusus antusus deleted the kb/final_fixes branch January 11, 2023 15:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants