proximax-storage / java-xpx-dfms-api-http

Official ProximaX Sirius Storage HTTP Java API
Apache License 2.0
2 stars 0 forks source link

DriveContent should be limited #2

Open tonowie opened 4 years ago

tonowie commented 4 years ago

DriveContent fields are focused on upload but during download most of the stuff is empty - especially things like getChildren tend to be very confusing when it returns 0 even though content has children

tonowie commented 4 years ago

InputStreamContent when retrieved from the server response has nothing but the input stream. Probably best to stick with optional name and inputstream getter. the rest should be moved to some more specialized interface/abstract class