Need to see if your shared folder is taking up space on your dropbox 👨💻? Find out how to check here.
Forum Discussion
Eric J.12
10 years agoExplorer | Level 4
Abort call to listFolderLongpoll() in Java SDK
Hi, I was wondering if there is a way to abort a call to the /list_folder/longpoll endpoint in Java. I was using this method in DbxUserFilesRequests:
listFolderLongpoll(String cursor)
The issues is that I have a thread that calls this method, but when this thread is interrupted, I want to abort this poll, and have the new thread start polling for changes in the same location. Currently, I'm working around this by making a closeable HTTP call to the endpoint, but I am wondering if you plan to add this kind of functionality to the Java SDK or if it already exists. Thank you.
- No, unfortunately that's not built in to the SDK, but I'll be sure to pass this along as a feature request.
3 Replies
- Greg-DB10 years ago
Dropbox Community Moderator
No, unfortunately that's not built in to the SDK, but I'll be sure to pass this along as a feature request. - FJBDev6 years agoHelpful | Level 5
Is that implemented yet ? or is it on the roadmap ?
- Greg-DB6 years ago
Dropbox Community Moderator
FJBDev I don't have any update on this request, and I'm not aware of any current plans to implement it.
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
The Dropbox Community team is active from Monday to Friday. We try to respond to you as soon as we can, usually within 2 hours.
If you need more help you can view your support options (expected response time for an email or ticket is 24 hours), or contact us on X, Facebook or Instagram.
For more info on available support options for your Dropbox plan, see this article.
If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!