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 overwrite and delete methods to FileLink #6

Closed shawnmaten closed 7 years ago

shawnmaten commented 7 years ago

https://filestack.atlassian.net/browse/FS-1100

Adds the aforementioned methods and proper handling for error responses. Previously requests from the API that returned successfully but with an error response (code 4xx) weren't throwing any kind of exception. Now we have an interceptor that checks for them and throws an appropriate exception.