cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Tell us what you want to see on the Community here!
Close

Dropbox API Support & Feedback

Find help with the Dropbox API from other developers.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Abort call to listFolderLongpoll() in Java SDK

Highlighted

Abort call to listFolderLongpoll() in Java SDK

Explorer | Level 4

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.

1 Accepted Solution

Accepted Solutions
Highlighted

Re: Abort call to listFolderLongpoll() in Java SDK

Dropboxer
No, unfortunately that's not built in to the SDK, but I'll be sure to pass this along as a feature request.

View solution in original post

3 Replies 3
Highlighted

Re: Abort call to listFolderLongpoll() in Java SDK

Dropboxer
No, unfortunately that's not built in to the SDK, but I'll be sure to pass this along as a feature request.

View solution in original post

Highlighted

Re: Abort call to listFolderLongpoll() in Java SDK

Helpful | Level 5

Is that implemented yet ? or is it on the roadmap ?

Highlighted

Re: Abort call to listFolderLongpoll() in Java SDK

Dropboxer

@FJBDev I don't have any update on this request, and I'm not aware of any current plans to implement it. 

Work Smarter with Dropbox

The way we work is changing. Share and discover new ways to work smarter with Dropbox in our community.

Sound good? Let's get started.
Who's talking

Top contributors to this post

What do Dropbox user levels mean?
Need more support?