issues
search
filestack
/
filestack-java
Official Java SDK for Filestack - API and content management system that makes it easy to add powerful file uploading and transformation capabilities to any web or mobile application.
https://filestack.com
Apache License 2.0
18
stars
18
forks
source link
Add public wrapper around cloud integrations
#40
Closed
shawnmaten
closed
6 years ago
shawnmaten
commented
6 years ago
https://filestack.atlassian.net/browse/FS-1809
Refactored exception handling, backend responses are too unruly for the "nice" classes
There's now just a generic HttpResponseException
If a request fails b/c of IO, throws IOException
If a request fails b/c of a non-200 backend response, throws HttpResponseException
Added methods to FilestackClient for cloud integrations
getAccountInfo(), getCloudContents(), storeCloudItem(), logoutCloud()
The contents of a cloud are returned as an array of simple objects with metadata
Still needs refinement
Next and session token handling
Error handling (since endpoints don't return real response codes)
Tests
https://filestack.atlassian.net/browse/FS-1809