public DbxAccountInfo getAccountInfo ( ) throws DbxException { String host = this . host . getApi ( ) ; String apiPath = "1/account/info" ; return doGet ( host , apiPath , null , null , new DbxRequestUtil . ResponseHandler < DbxAccountInfo > ( ) { @ Override public DbxAccountInfo handle ( HttpRequestor . Response response ) throws DbxException { if ( response . getStatusCode ( ) != 200 ) throw DbxRequestUtil . unexpectedStatus ( response ) ; return DbxRequestUtil . readJsonFromResponse ( DbxAccountInfo . Reader , response ) ; } } ) ; }
Retrieve the user s account information .