Use of a class Session.ProxyInfo dropbox java api?
The problem arose to write for the University desktop app that could sync files via the built-in plugin that using dropbox api.
The problem is to use the Department proxy to access the internet.
In the API there is a class com.dropbox.client2.session.Session.ProxyInfo, which is a static final class, and has, accordingly, only get-methods.
How to set his proxy settings?
Did someone have similar problem? Perhaps there are other solutions, and use oauth directly to create a session?
asked October 8th 19 at 01:31
I feel that in the constructor:
public Session.ProxyInfo(java.lang.String host, int port)
Well, at worst, a reflection of all tasks of this kind are resolved.
Find more questions by tags DropboxOAuthAPIJava