public class DbxUserCheckRequests
extends java.lang.Object
| Constructor and Description |
|---|
DbxUserCheckRequests(DbxRawClientV2 client) |
| Modifier and Type | Method and Description |
|---|---|
EchoResult |
user()
This endpoint performs User Authentication, validating the supplied
access token, and returns the supplied string, to allow you to test your
code and connection to the Dropbox API.
|
EchoResult |
user(java.lang.String query)
This endpoint performs User Authentication, validating the supplied
access token, and returns the supplied string, to allow you to test your
code and connection to the Dropbox API.
|
public DbxUserCheckRequests(DbxRawClientV2 client)
public EchoResult user() throws DbxApiException, DbxException
The query request parameter will default to "\"\""
(see user(String)).
DbxApiExceptionDbxExceptionpublic EchoResult user(java.lang.String query) throws DbxApiException, DbxException
query - The string that you'd like to be echoed back to you. Must
not be null.java.lang.IllegalArgumentException - If any argument does not meet its
preconditions.DbxApiExceptionDbxException